[WebDNA] hours apart from two dates and times
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101418
interpreted = N
texte = This is a multipart message in MIME format.------=_NextPart_000_00F2_01C945C7.CB582610Content-Type: text/plain;charset="us-ascii"Content-Transfer-Encoding: 7bitAnyone have code that given two dates and two times, the number of hoursapart is calculated? Am building a caching mechanism and that would helpgreatly. For instance, [hoursapart d1=2008-11-01&t1=12:00:00&d2=2008-11-02&t2=13:00:00] Should kick out 25 Thanks! ------=_NextPart_000_00F2_01C945C7.CB582610Content-Type: text/html;charset="us-ascii"Content-Transfer-Encoding: quoted-printable
Anyone have code that given two dates and two =times, the numberof hours apart is calculated? Am building a caching mechanism and that =wouldhelp greatly. For instance,
[hoursapartd1=3D2008-11-01&t1=3D12:00:00&d2=3D2008-11-02&t2=3D13:00:00]<=o:p>
Should kick out 25
Thanks!
------=_NextPart_000_00F2_01C945C7.CB582610--
Associated Messages, from the most recent to the oldest:
|
- [WebDNA] hours apart from two dates and times ("Olin Lagon" 2008)
|
This is a multipart message in MIME format.------=_NextPart_000_00F2_01C945C7.CB582610Content-Type: text/plain;charset="us-ascii"Content-Transfer-Encoding: 7bitAnyone have code that given two dates and two times, the number of hoursapart is calculated? Am building a caching mechanism and that would helpgreatly. For instance, [hoursapart d1=2008-11-01&t1=12:00:00&d2=2008-11-02&t2=13:00:00] Should kick out 25 Thanks! ------=_NextPart_000_00F2_01C945C7.CB582610Content-Type: text/html;charset="us-ascii"Content-Transfer-Encoding: quoted-printable
Anyone have code that given two dates and two =times, the numberof hours apart is calculated? Am building a caching mechanism and that =wouldhelp greatly. For instance,
[hoursapartd1=3D2008-11-01&t1=3D12:00:00&d2=3D2008-11-02&t2=3D13:00:00]<=o:p>
Should kick out 25
Thanks!
------=_NextPart_000_00F2_01C945C7.CB582610--
"Olin Lagon"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Search in 2 or more catalogs (1997)
space at start of menu (2000)
carriage returns in data (1997)
[WebDNA] WebDNA 7.0 (2011)
Locking up with WebCatalog... (1997)
WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997)
Possible Bug in 2.0b15.acgi (1997)
Date on ViewOrders.tpl (1998)
2.0Beta Command Ref (can't find this instruction) (1997)
Grep Ampersands (2008)
Install WebDNA 6.0 into MAMP/Apache 2.0 on OS X ... (2005)
Develop on Mac - Serve on Linux (2002)
Mondo amounts of Mail [long] (1999)
Can't Update records (1997)
Setting up WebCatalog with Retail Pro data (1996)
Message Board (again:-) (2000)
Frames and WebCat (1997)
Three new problems, maybe a fourth (1997)
template not found error (1998)
Urgent Help needed (1998)