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:
AAgghh!! Help, please. SSL strikes again. (1997)
TCPconnect issue (2000)
quantity minimum problem (1997)
WebCat2 Append problem (B14Macacgi) (1997)
WebCatalog for Postcards ? (1997)
Absolute path (2003)
Integration with SQL (1997)
WebCatalog Use Question (1997)
Grant, please help me ... (1997)
showif and cart (1997)
Multi-Row Tables from a search. (1997)
$Quit, $CloseDatabase corrections (1997)
Press Release hit the NewsWire!!! (1997)
Summing fields (1997)
Separate SSL Server (1997)
HELP WITH DATES (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)
RE: OK, here goes... (1997)
[cart]'s ever get recycled? (2000)
Re:WebCatalog/WebMerchant III (1998)