Re: [time] math Q
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 48271
interpreted = N
texte = [Format Seconds_To_Time %I:%M:%S %p] [math time]{[time format=%H:%M]}[offset][/math][/Format]On Monday, March 3, 2003, at 12:57 PM, WJ Starck wrote:> 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 becomes>> 19:20:45 - 7200 = 17:20:45>> Anyone 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 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/>>RegardsStuart Tremainidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +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/
Associated Messages, from the most recent to the oldest:
[Format Seconds_To_Time %I:%M:%S %p] [math time]{[time format=%H:%M]}[offset][/math][/Format]On Monday, March 3, 2003, at 12:57 PM, WJ Starck wrote:> 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 becomes>> 19:20:45 - 7200 = 17:20:45>> Anyone 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 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/>>RegardsStuart Tremainidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +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/
Stuart Tremain
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:
[addlineitems] as oppossed to url command=add (2000)
Extended [ConvertChars] (1997)
Re:Navigator 4.01 (1997)
OT - robots.txt (2003)
WebCatalog 2.1b4/Mac available (1997)
Next X hits (1996)
cookies and [returnraw] (1997)
[WebDNA] Show next..... (2010)
[WebDNA] New 7.1.702 version (2012)
Re:Emailer setup (1997)
wo search help (1999)
Taxable Shipping (2003)
WebSTAR/WebCat is serving .db files! (1999)
RE: [WebDNA] Brian Harrington (2019)
[countWords]? (1997)
Sorry WebDNA server not running (2002)
Sendmail & Spell Checker (2001)
Here we go again... was: DDEConnect not working (2006)
UPS Shipping Formula in WebCat (ot) (1999)
Extended [ConvertChars] (1997)