Time Delta
Scott Penrose
scottp at myinternet.com.au
Thu Oct 2 02:07:31 CDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am trying to do the age old problem...
* Here is DateTime 1
* Here is DateTime 2
* Here is the working week (Mon-Fri, 9-5) (or whatever we define)
* Tell me the working hours between DateTime 1 and DateTime 2
eg:
DateTime 1 DateTime 2 Difference
19/8/2003 16:35 20/8/2003 11:15 2:40
or - 2 hours, 40 minutes
What is the simplest, shortest way.
Scooter
- --
Scott Penrose
Open source developer
http://linux.dd.com.au/
scottp at dd.com.au
Dismaimer: Open sauce usually ends up never coming out (of the bottle).
Please do not send me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org
iD8DBQE/e862DCFCcmAm26YRAlaOAKCGGnEqG7H+QOGhd180m9h2tlA0ygCdGokU
VARVdYHr36kB7QnldMJ+Nvw=
=6itw
-----END PGP SIGNATURE-----
More information about the Melbourne-pm
mailing list