Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Convert date/time to time only in Excel?

I received a file with date/time stamp information in a field. When I pull
this information into Access, the queries that I have written won't work
because the date is attached to the time. How can I convert that date/time
value to time only value in Excel?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,089
Default Convert date/time to time only in Excel?

If the date were in cell C2:

=C2-INT(C2)

would give you just the time element

You could Copy and PasteSpecial | Values over the original, if required

Regards

Trevor


"Gretchen" wrote in message
...
I received a file with date/time stamp information in a field. When I pull
this information into Access, the queries that I have written won't work
because the date is attached to the time. How can I convert that
date/time
value to time only value in Excel?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Convert date/time to time only in Excel?

Or

=MOD(C2,1)


--
Regards,

Peo Sjoblom



"Trevor Shuttleworth" wrote in message
...
If the date were in cell C2:

=C2-INT(C2)

would give you just the time element

You could Copy and PasteSpecial | Values over the original, if required

Regards

Trevor


"Gretchen" wrote in message
...
I received a file with date/time stamp information in a field. When I
pull
this information into Access, the queries that I have written won't work
because the date is attached to the time. How can I convert that
date/time
value to time only value in Excel?





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Convert date/time to time only in Excel?

Awesome! Thanks so much.

"Trevor Shuttleworth" wrote:

If the date were in cell C2:

=C2-INT(C2)

would give you just the time element

You could Copy and PasteSpecial | Values over the original, if required

Regards

Trevor


"Gretchen" wrote in message
...
I received a file with date/time stamp information in a field. When I pull
this information into Access, the queries that I have written won't work
because the date is attached to the time. How can I convert that
date/time
value to time only value in Excel?




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Convert date/time to time only in Excel?

I assume that when you pull it into Access you may want a text
representation, not Excel's time representation, so for 6pm you want 18:00,
not 0.75?
In that case =TEXT(A1,"hh:mm")
--
David Biddulph

"Gretchen" wrote in message
...
I received a file with date/time stamp information in a field. When I pull
this information into Access, the queries that I have written won't work
because the date is attached to the time. How can I convert that
date/time
value to time only value in Excel?





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Text Time to Excel Time [email protected] Excel Discussion (Misc queries) 5 January 29th 07 04:43 PM
How do i convert unix time to Julian time in excel? Ken Excel Discussion (Misc queries) 1 December 14th 06 08:22 PM
Convert date and time Vijay Kotian Excel Discussion (Misc queries) 1 November 28th 06 09:08 AM
In Excel, I want to convert Eastern time to pacific time dmunhall Excel Discussion (Misc queries) 4 April 1st 06 01:03 AM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM


All times are GMT +1. The time now is 11:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"