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:
rotating thumbnails (1997)
multiple price line in formula.db (2004)
Forms Search Questions (1997)
RE: Adding a product from another site (1997)
[WebDNA] CICADA (2009)
Random sort is not random at all..... (2000)
upgrading (1997)
textarea input truncated at 255 chars (1999)
Setting up WebCatalog with Retail Pro data (1996)
Email (1998)
verification (correction) (2004)
RE: is sku a REQUIRED field on NT (1997)
Document Contains No Data! (1997)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
Further tests with the infamous shipCost (1997)
Layers,Dreamweaver and WebCat Code (2000)
emailer (1997)
Plugin or CGI or both (1997)
RE: [WebDNA] Sending 100 mails an hour then pausing (2010)
refreshing IE with posted .tmpl (1997)