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:
Pithy questions on webcommerce & siteedit (1997)
WebCatalog for Postcards ? (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
credit card services (1997)
WebCatalog Technical Reference (1997)
Multiple prices (1997)
[WebDNA] Working WebDNA 7 configuration (2011)
Separate SSL Server (1997)
Webcat 4.0 and security (2000)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
[WebDNA] Using webdna to automate ftp on a Windows server (2012)
WAP (2000)
Webcatalog 4.0 - Storebuilder (2000)
New servers and new inline cache (1997)
Bug when including a db file ... ? (2000)
MySQL UPDATE (2007)
Tax on Shipping question (1998)
Mail Integration (1999)
40,000+ items = mutiple dbs? (1999)
Avery 5160 Mailing Labels (2003)