Re: [math date]: Arrrggh!
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50483
interpreted = N
texte = Oh, OkIt's because my read date prefs are YYYYMMDD (text sortable)So[math date]{[2003/05/20}+{0000/0/03}[/math]works...-WillOn Tuesday, May 20, 2003, at 08:50 AM, andy mowrey wrote:> Not sure; I copy & pasted this onto a page & got 05/23/2003.>> WebDNA 4.5.1> Mac OS 10.2.3>> andy>> On Tuesday, May 20, 2003, at 09:39 America/Havana, WJ Starck wrote:>>> The docs say:>>>>> Date Math:>>>>>> Dates may be included in mathematical expressions by enclosing the >>> date in braces ( '{' and '}' ). You may easily add or subtract days, >>> months, or years from dates by expressing them as a complete date. >>> Use 0 for values you want ignored. That is, in order to add 2 months >>> to today's date you would write an expression like the following >>> [math date]{[date]}+{2/0/0000}[/math]. It is a good idea to group >>> math expressions involving dates together by using parentheses.>>>> So why does the following>>>> [math date]{05/20/2003}+{0/3/0000}[/math]>>>> give me 04/25/1912>>>> instead of the expected 05/23/2003?>> -->>>> 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/>>>>> -------------------------------------------------------------> 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:
Oh, OkIt's because my read date prefs are YYYYMMDD (text sortable)So[math date]{[2003/05/20}+{0000/0/03}[/math]works...-WillOn Tuesday, May 20, 2003, at 08:50 AM, andy mowrey wrote:> Not sure; I copy & pasted this onto a page & got 05/23/2003.>> WebDNA 4.5.1> Mac OS 10.2.3>> andy>> On Tuesday, May 20, 2003, at 09:39 America/Havana, WJ Starck wrote:>>> The docs say:>>>>> Date Math:>>>>>> Dates may be included in mathematical expressions by enclosing the >>> date in braces ( '{' and '}' ). You may easily add or subtract days, >>> months, or years from dates by expressing them as a complete date. >>> Use 0 for values you want ignored. That is, in order to add 2 months >>> to today's date you would write an expression like the following >>> [math date]{[date]}+{2/0/0000}[/math]. It is a good idea to group >>> math expressions involving dates together by using parentheses.>>>> So why does the following>>>> [math date]{05/20/2003}+{0/3/0000}[/math]>>>> give me 04/25/1912>>>> instead of the expected 05/23/2003?>> -->>>> 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/>>>>> -------------------------------------------------------------> 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:
Cool! formulas (1998)
Help needed! (1998)
text size limitation (1997)
[WebDNA] Google Conversions (2011)
Press Release hit the NewsWire!!! (1997)
Emailer help....! (1997)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Location of Webcat site in folder hierarchy (1997)
Modifying order output (1997)
LookUp Tag (1997)
WebCatalog complains that the service is not running. (1998)
[OT] "&" char in Flash animation (2006)
Cart Numbers (1997)
[WriteFile] problems (1997)
removing commas from a preformatted number (2000)
Document Contains No Data! (1997)
RE: Languages (1997)
webcat plugin issue (2001)
textarea to page display (1998)
Fun with Dates - finally resolved but.... (1997)