Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

time field conversion...Again!

Status
Not open for further replies.

trustsun

Technical User
Feb 4, 2004
73
US
Hi gang, one of those infamous date conversion issue.

I have a time field like 2:44:15 AM. I need to convert this time field into a date field like 1/2/2006.

Here's what I've tried so far, CDate([CHGTIME]).

-trust
 



Hi,

Date/Time is contained in a single value. The DATE portion is the integral part and the TIME portion is the fractional part. What you see is merely a FORMAT to that combined value.

Just change the format of that field.

Skip,

[glasses] [red]Be Advised![/red] The only distinction between a bird with one wing and a bird with two, is merely...
a difference of A Pinion! [tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top