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 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [time] math Q (Stuart Tremain 2003)
  2. Re: [time] math Q (Gary Krockover 2003)
  3. Re: [time] math Q (Kenneth Grome 2003)
  4. Re: [time] math Q (WJ Starck 2003)
  5. Re: [time] math Q (Stuart Tremain 2003)
  6. [time] math Q (WJ Starck 2003)
[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 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/ 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:

Dynamic PDFs? (2004) Replace context problem ... (1997) Form Variables (2000) minimalist shopping cart. (1997) $Replace with [founditems] (1997) I am sorry for always being such an ass (2004) Lineitems [text*] (2004) Webmerchant quitting (1998) WebCat NT v. Mac (1997) WebCat BeOS (2002) Protecting webdelivery (1997) Sorting Results (1999) Browser Reloads and AddlineItem (1997) [WebDNA] Snippets: EXPORT RECORDS using WRITEFILE (2009) Cart/Cookie question (2005) Robots fill event log (1997) japanese characters (1997) problems with 2 tags shakur (1997) FIXED: Showing Results Alphabetically in Columns (top tobottom) (2002) [math] show=F exists? (1997)