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:
Not reading code (1997)
'page impression' techniques for banner ads (1999)
WebDNA 4.5 on CentOS (2006)
Emailer (1997)
Server capacity (2003)
WebCat2 beta 11 - new prefs ... (1997)
Public beta 2 for WebCatalog 4.0 is now available. (2000)
Sorting by date (1997)
Where is eudora plugin? (1998)
Trigger alternatives please ... (2004)
I'm having trouble using [url][interpret][math] together in lookup (1997)
webCat craps httpd (2005)
[WebDNA] WebDNA licenses discount from 12/23 to 12/31 (2012)
IIS4 & Password Authentication, request example (1998)
help testing quicktime delivery (1997)
Errata: WCS Newbie question (1997)
New user...how do I create URLs from form fields? (2000)
db error (2003)
OK, here goes... (1997)
PLEASE REMOVE MY EMAIL ADDRESS (1997)