To get the result in hours and fractions of an hour, use TimeValue() to
separate the time component from the date/time value, and multiply by 24.
Example:
Hours: 24 * TimeValue([SomeDateTime])
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"brino" <bd*************@yahoo.com.auwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
hi all !
i am doing a query to calculate the difference between a time in a
field and the present date/time.
the problem is its producing the result as a decimal value of a day.
how can i get it to produce the result in days & hours ??
thanks
brino