Re: Date Calulation
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11263
interpreted = N
texte = >Do the date calculations compensate for leap years? I assume that they >do, but my formulas seem to be a few days off. Yes, they do, but your formula overrode WebCatalog's natural tendency to use its knowledge about dates.[format DAYS_TO_DATE %w][math]{4/1/97}[/math][/format]This should yield the kind of results you are looking for.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court, #453 | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>Do the date calculations compensate for leap years? I assume that they >do, but my formulas seem to be a few days off. Yes, they do, but your formula overrode WebCatalog's natural tendency to use its knowledge about dates.[format DAYS_TO_DATE %w]
[math]{4/1/97}[/math][/format]This should yield the kind of results you are looking for.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court, #453 | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
2003 include path issue (2004)
profiles (1999)
[BoldWords] WebCat.acgib15Mac (1997)
Multiple prices (1997)
Um...how do I ask this? (1999)
Specifying the URL where a user should go (2000)
[ConvertChars] problem (1997)
Subtotals (1999)
F3 crashing server (1997)
getchars broken? (1997)
Detecting NULL value in returned SQL (2000)
orders being printed (1998)
re:check boxes (1997)
WebDNA-Talk Digest mode broken (1997)
Bug or syntax error on my part? (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)
[isfile] ? (1997)
how do I delete 1 of 2 identical records? (2003)
Dumb Question about Docs (1997)
New Mac Public Beta Available (1997)