Peregenem,
> I think you are a little confused.
What do you base your statement on? I stated:
"Date/Time values are stored in Access as numbers with decimal values,..."
without identifying the type of number as you did "Double (Float)".
The only points I'll give you is that I said "where the number is the number
of days since Dec. 31, 1899", when I should have wrote the number to the left
of the decimal is the number of days...
and I included:
"the integer portion corresponds to the time of day (0.25 = 6:00 AM, 0.5 =
Noon, 0.75 = 6:00 PM, etc.)."
I obviously should have said "the decimal portion corresponds .....".
However, my example clearly indicated that I was using the decimal portions
of a number to represent the time of day. While I may have made some minor
inconsequential mistakes due to the time of day (after midnight when I
posted), I believe any reasonably intelligent person could figure out exactly
what I was stating. I don't think this rises to the level of "I think you are
a little confused". A little tired and sloppy, perhaps, but not confused.
_________________________________________
"peregenem@jetemail.net" wrote:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6834
> Tom Wickerath wrote:
> Date/Time values are stored in Access as numbers with decimal values, where
> the number is the number of days since Dec. 31, 1899 (if I recall correctly)
> and the integer portion corresponds to the time of day (0.25 = 6:00 AM, 0.5 =
> Noon, 0.75 = 6:00 PM, etc.).
I think you are a little confused. Under the covers, DATETIME values
are stored as Double (FLOAT). The values to the left of the decimal
point correspond to the number of days and the value to the right
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=6834
represents the time.
> >= [DateFrom] AND < [DateTo] + 1
Here another suggestion (untested)
BETWEEN INT(CDATE([DateFrom]))
AND INT(CDATE([DateTo])) + TimeSerial(23, 59, 59)