[AccessD] Time Conversion

MastercafeCTV mastercafe at ctv.es
Tue Aug 1 06:01:25 CDT 2006


On access one day = 1
1 Day= 24h 
If you want this values in format Hour then only need multiply by 24

csng(#15:30:00#)*24 = 15.50

Hope this simple function can help you :-)

Juan Menendez
www.mastercafe.com
info at mastercafe.com


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of
paul.hartland at fsmail.net
Sent: martes, 01 de agosto de 2006 12:27
To: accessd
Subject: [AccessD] Time Conversion
Importance: High


To all,

Sorry for the post I am sure I have seen this before but must be going mad
as can't seem to find the examples, basically what I want to do is convert
the hours I get in my table 4:15, 4:30, 4:45 to 4.25, 4.50, 4.75 etc....Can
anyone point me to this function please.

Thanks in advance for any help on this.

Paul Hartland
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list