MOD the resulting hours by 24 to get the stray hours, and divide the
resulting hours by 24 and INT() the results to get the full number of days.

Now I just woke up, so forgive me if there's a glaring, simpler solution...
:)

<CFUG-SFL Manager>
-Kev
</CFUG-SFL Manager>

> -----Original Message-----
> From: Chris Lott [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 06, 2000 8:52 PM
> To: CF-Talk
> Subject: Datediff to days, hours
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Is there a simple way to turn a standard datediff result into a format
> like:
> 1 day, 12 hrs
>
> Instead of 36 hours or 1.5 days?
>
> c
>
> -----BEGIN PGP SIGNATURE-----
> Version: 6.5.8ckt http://irfaiad.virtualave.net/
> Comment: PGP Signed for message verification and/or encryption
> Comment: KeyID: 0xD68B61E851046CFD
>
> iQA/AwUBOd5zqdaLYehRBGz9EQL8AQCg2xfJWB0gDUU3t8GzTQETvDMqGCcAnjAx
> 4sJSPZ2c8GeLr1ZXk0wRHr3c
> =7qO5
> -----END PGP SIGNATURE-----
>
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
> _talk or send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to