B
Bob Quintal
=?Utf-8?B?QWRhbSBUaHdhaXRlcw==?=
Access stores the date/time value in its tables as the number of
days since December 31, 1899, with the time as fraction of a day
using the double precision datatype, and converts it for
display..Sometimes, it forgets to format when you do calculations
directly instead of using the dateadd() and datediff() functions.
?Now()-TimeValue("00:30")
39363.7287384259
?Now()+TimeValue("00:30")
08/10/2007 18:29:39
These two formulas give different results in Access 2003, one
being in the correct time format, the other being the numerical
representation of it. Why is this?
ps. I have fixed this using CDate but still wonder why it's
happening it he first place.
Access stores the date/time value in its tables as the number of
days since December 31, 1899, with the time as fraction of a day
using the double precision datatype, and converts it for
display..Sometimes, it forgets to format when you do calculations
directly instead of using the dateadd() and datediff() functions.