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:
PSC recommends what date format yr 2000??? (1997)
Grant, please help me ... (1997)
tpl and Explorer (1998)
Plugin or CGI or both (1997)
NT vs Mac (1997)
How update the file: products.db (2000)
WebDNA Quick Reference (Reserved Words) (2000)
Getting total number of items ordered (1997)
RE: WebCat cannot handle compatible search parameters? (1997)
Postprocessing CCs (2000)
Date search - yes or no (1997)
WebCatalog NT beta 18 problem (1997)
Wrapping text (1998)
Opinion: [input] should be called [output] ... (1997)
WebCat2 several catalogs? (1997)
Execute Applescript (1997)
read and write you own cookies with webcat (1997)
Associative lookup style? (1997)
japanese characters (1997)
(2001)