Re: [math date]: Arrrggh!
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50481
interpreted = N
texte = Not sure; I copy & pasted this onto a page & got 05/23/2003.WebDNA 4.5.1Mac OS 10.2.3andyOn 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/
Associated Messages, from the most recent to the oldest:
Not sure; I copy & pasted this onto a page & got 05/23/2003.WebDNA 4.5.1Mac OS 10.2.3andyOn 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/
andy mowrey
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:
Image maps/Webcat (1997)
Price and Formula.db (2002)
Webmerchant confirmation hooks? (1997)
[SHOWIF]s and empty arguments (1997)
WebDNA 6 (2004)
RE: is sku a REQUIRED field on NT (1997)
Beta version-Mac? (was Emailer update for Mac?) (1998)
[WebDNA] Fwd: RETS... HELP! (2009)
problems with 2 tags (1997)
Secure server question (1997)
[referrer] tag (1997)
[FoundItems] solved - thanks (1997)
showif and cart (1997)
[Sum] function? (1997)
Are you an WC expert? (1997)
RE: Help name our technology! (1997)
WebCat2: Master Counter snippet (1997)
japanese characters (1997)
sku not found (1997)
Help! Missing [showif] or [hideif] (2000)