Re: [math date]: Arrrggh!
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50480
interpreted = N
texte = At 8:39 AM 5/20/03, 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?Just use... [math date]{05/20/2003}+3[/math]{0/3/0000} Is not a valid date.~joe-- ____________________________________________________________Joseph D'Andrea ~ http://www.west21.com/ ~ JoeDan@West21.com WEST21.com Internet services for the 21st Century webhosting ~ co-location ~ wireless access WebCat and MGI database programming____________________________________________________________-------------------------------------------------------------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:
At 8:39 AM 5/20/03, 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?Just use... [math date]{05/20/2003}+3[/math]{0/3/0000} Is not a valid date.~joe-- ____________________________________________________________Joseph D'Andrea ~ http://www.west21.com/ ~ JoeDan@West21.com WEST21.com Internet services for the 21st Century webhosting ~ co-location ~ wireless access WebCat and MGI database programming____________________________________________________________-------------------------------------------------------------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/
Joe D'Andrea
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:
modified storedbuilder (was: show me your store) (2003)
Running 2 two WebCatalog.acgi's (1996)
Download URL & access on the fly ? (1997)
Bug Report, maybe (1997)
More on the email templates (1997)
Entry point? Security w/ dbase helper? (1997)
[SMSI]Price and Formula.db (2002)
[WebDNA] Before I write this AJAX code from scratch ... (2015)
Associative lookup style? (1997)
[WebDNA] Sorry, WebCatalog server not running. (2008)
RE: Error -108 (1997)
WebCat and WebTen 2.0 (1997)
Setting up WebCatalog with Retail Pro data (1996)
Bug? (1997)
[WebDNA] PDF creation (2013)
Search returns all, not 20 (1997)
F3 crashing server (1997)
webcat and OS 8 (1997)
FAX orders (1996)
Multi vendor shop (2000)