>I have a a table in access that a column has the data :2006-03-03
>00:45:09.000, it is a time stamp that just keeps changing. My question
[quoted text clipped - 3 lines]
>Thanks
>Chad
What's the datatype of this field? Is it in a native Access table or a
linked table of some sort? Access Date/Time values do not have
millisecond precision (only to the nearest second) nor do they have
colons, so I'm guessing it's Text.
Try using a calculated field:
TheHour: Hour(CDate(Mid([timestamp], 2, 19)))
Mid will extract the date/time portion; CDate will convert this to a
date/time; Hour will extract just the hour portion thereof.
John W. Vinson[MVP]
boese.c@maplan.com - 31 Mar 2006 15:52 GMT
Do this in Query??
Thanks
Chad
John Vinson - 31 Mar 2006 18:14 GMT
>Do this in Query??
>
>Thanks
>Chad
Yes. Put the calculated field expression in a vacant Field cell in the
query grid.
John W. Vinson[MVP]
boese.c@maplan.com - 31 Mar 2006 15:52 GMT
Do this in Query??
Thanks
Chad
boese.c@maplan.com - 31 Mar 2006 15:56 GMT
I might add it is a text field that is labeled CreationTimeStamp