[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.CB582610 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Anyone have code that given two dates and two times, the number of hours apart is calculated? Am building a caching mechanism and that would help greatly. 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.CB582610 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Anyone have code that given two dates and two = times, the number of hours apart is calculated? Am building a caching mechanism and that = would help greatly. For instance,

 

[hoursapart d1=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:

    
  1. [WebDNA] hours apart from two dates and times ("Olin Lagon" 2008)
This is a multipart message in MIME format. ------=_NextPart_000_00F2_01C945C7.CB582610 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Anyone have code that given two dates and two times, the number of hours apart is calculated? Am building a caching mechanism and that would help greatly. 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.CB582610 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Anyone have code that given two dates and two = times, the number of hours apart is calculated? Am building a caching mechanism and that = would help greatly. For instance,

 

[hoursapart d1=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:

Help! (2000) Calculating multiple shipping... (1997) Re1000001: Setting up shop (1997) NewCart+Search with one click ? (1997) WebCat2 - many [carts] on one template page? (1997) UPS Shipping (1999) Contexts and Ampersands (1997) .db-tmp (2000) WebCat2: multiple currency support (1997) docs for WebCatalog2 (1997) [OT] Airport Problem (2003) Archives... (1997) Webcat 3 Bug?!?! Netscape + Protect + Posted Form (1998) Frames and [cart] (1998) [protect admin] (1997) PHP Live (2005) [Replace] really replaces? (2000) Exclamation point (1997) Error handling for accountNum (1997) Error 11 (1996)