Apr 12, 2004 #1 mrmc74 Technical User Mar 2, 2004 9 NL Hi, How do you format your date/time data to number of days from January 1, 1900? Thanks.
Apr 12, 2004 #2 S SkipVought Programmer Dec 4, 2001 47,487 US mrmc74, Take one of your dates from your table and CONVERT it as such -- I suggest CDbl since you are ALSO using TIME Code: MsgBox CDbl([MyDate]) You'll see that you DATE is just a NUMBER -- actually, the NUMBER of days since 1/1/1900. The "fractional" part is TIME in days. Skip, Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 Upvote 0 Downvote
mrmc74, Take one of your dates from your table and CONVERT it as such -- I suggest CDbl since you are ALSO using TIME Code: MsgBox CDbl([MyDate]) You'll see that you DATE is just a NUMBER -- actually, the NUMBER of days since 1/1/1900. The "fractional" part is TIME in days. Skip, Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
Apr 12, 2004 Thread starter #3 mrmc74 Technical User Mar 2, 2004 9 NL Thanks a lot. Upvote 0 Downvote