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:
how do I delete 1 of 2 identical records? (2003)
Re:Searching for ALL / empty form field (1997)
UPDATE PROBLEM (1997)
searchable list archive (1997)
WebCatalog can't find database (1997)
japanese characters (1997)
Separate SSL Server (1997)
[searchString] (1997)
whole word matching (2004)
SV: Mass Mail (2000)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Erotic Sites (1997)
SHOWIF [var_with_backslash]^[value] (2002)
Displaying photo attached to first record (1997)
multiple databases (1997)
More questions about serial number dishing (1997)
2.0 Beta (1997)
Bug in WC 4.02 on RH Linux with Append (2002)
multiple credit card merchant accounts/processors (1997)
HELP WITH DATES (1997)