Re: [time] math Q
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 48266
interpreted = N
texte = OK, this works:[math time]{[time]}[offset][/math]Had to use [math time] and had to store the offset in seconds, eg., 2 hours = 7200 seconds, so the equation becomes19:20:45 - 7200 = 17:20:45Anyone know how I can format this so the result is non-military times?I tried [math time]{[time format=%H:%M]}[offset][/math] but the result is still military time?On Sunday, March 2, 2003, at 06:40 PM, Stuart Tremain wrote:> Will>> Your equation is probably seeing time + - offset.>> Try this>> [math]{[time format=%H:%M]}{[offset]}[/math]>> and format your offset with a pos/neg value.>>>>> On Monday, March 3, 2003, at 11:35 AM, WJ Starck wrote:>>> I want to calculate an offset to a time zone, something like:>>>> [math]{[time format=%H:%M]}+{[offset]}[/math]>>>> Can I store the offset as a negative number and have the math turn >> out? It doesn't seem to be working...>>>> Thanks,>>>>>>>> -->>>> Will Starck>> NovaDerm Skincare Science>> http://www.novaderm.com>> wjs@novaderm.com>>>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list
.>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/>>>>> Regards>> Stuart Tremain> idfk web developments> 114a/40 yeo street neutral bay 2089 australia> t +612 9908 2134> f +612 9908 4837>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/>>--Will StarckNovaDerm Skincare Sciencehttp://www.novaderm.comwjs@novaderm.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
OK, this works:[math time]{[time]}[offset][/math]Had to use [math time] and had to store the offset in seconds, eg., 2 hours = 7200 seconds, so the equation becomes19:20:45 - 7200 = 17:20:45Anyone know how I can format this so the result is non-military times?I tried [math time]{[time format=%H:%M]}[offset][/math] but the result is still military time?On Sunday, March 2, 2003, at 06:40 PM, Stuart Tremain wrote:> Will>> Your equation is probably seeing time + - offset.>> Try this>> [math]{[time format=%H:%M]}{[offset]}[/math]>> and format your offset with a pos/neg value.>>>>> On Monday, March 3, 2003, at 11:35 AM, WJ Starck wrote:>>> I want to calculate an offset to a time zone, something like:>>>> [math]{[time format=%H:%M]}+{[offset]}[/math]>>>> Can I store the offset as a negative number and have the math turn >> out? It doesn't seem to be working...>>>> Thanks,>>>>>>>> -->>>> Will Starck>> NovaDerm Skincare Science>> http://www.novaderm.com>> wjs@novaderm.com>>>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/>>>>> Regards>> Stuart Tremain> idfk web developments> 114a/40 yeo street neutral bay 2089 australia> t +612 9908 2134> f +612 9908 4837>>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/>>--Will StarckNovaDerm Skincare Sciencehttp://www.novaderm.comwjs@novaderm.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
WJ Starck
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:
[WebDNA] Talklist Archive & Twitter (2009)
admin:admin won't work for login:password ! (1999)
Spell Check (2000)
Quickie question on the email templates (1997)
SMS to WebDNA (2007)
[subtotal] and others (1997)
Re:Realtime Transaction Processing (1999)
Bug Report, maybe (1997)
frames & carts (1997)
Newbie Tax Question (1997)
[OT] two domains one site... (2005)
[ConvertChars] problem (1997)
Click-through/Referral tracking solution needed (2000)
Locking up with WebCatalog... (1997)
Comments in db? (1997)
RE: Purchased cart being overwritten (1997)
Confused about QTY and QTY* price updating (1998)
Paging a SQL result... (2003)
[date format] w/in sendmail (1997)
Hiding URL ? (1998)