Domino Code Fragment

Code Name*
Converting seconds to d:h:m:s
Date*
02/28/2000
Source (or email address if you prefer)*
robert.j.wragg@britishairways.com
IP address:.193.130.108.2
Description*
Type*
Formula
Categories*
Date/Time Handling
Implementation:
None (plug and play)
Required Client:
(none)
Server:
(none)
Limitations:
Comments:
Do not use this formula in a View column or lookup.
Files/Graphics attachments (if applicable): Code:

TimeTaken:=@Now-@Created;

@Text(@Integer(TimeTaken/86400)) + " Days "
+
@Text(@Integer((TimeTaken - (@Integer(TimeTaken/86400)*86400)) /3600)) + " Hours "
+
@Text(@Integer((TimeTaken - (@Integer(TimeTaken /3600)*3600)) /60)) + " Minutes "
+
@Text(@Integer((TimeTaken - (@Integer(TimeTaken /60)*60)))) + " Seconds";