[math date]: Arrrggh!
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50479
interpreted = N
texte = 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/1912instead of the expected 05/23/2003?--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:
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/1912instead of the expected 05/23/2003?--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:
showif with math? (2000)
WebCat2b15MacPlugin - showing [math] (1997)
Banners and sort of random display (1997)
[/application] error? (1997)
include bug????? (1997)
Strange intermittent WebDNA problems (2008)
Is there a way to just get to the last record in the database? (1997)
Frames and WebCat (1997)
WCS Newbie question (1997)
OT: Where to turn (2003)
Running 2 two WebCatalog.acgi's (1996)
E-mail problem... (1999)
Hard Questions ? (1997)
[WebDNA] Paypal Cert (2015)
Signal Raised Error (1997)
Platform Switch (1997)
SendMail - sending message to more than one person from (2006)
wish list (2002)
Date search - yes or no (1997)
RequiredFields template (1997)