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 Solution 11770 Bernardo Plaza Court, #453 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Date Calulation (Grant Hulbert 1997)
  2. Date Calulation (Dan Gilpin 1997)
>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 Solution 11770 Bernardo Plaza Court, #453 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/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:

WebCatalog can't find database (1997) [WebDNA] USPS shipping calculator (2012) shipcost (1997) WebCat2b13 Command Reference Doc error (1997) RE: is sku a REQUIRED field on NT (1997) [returnraw] and form variables (1998) More on the email templates (1997) Mac 2.1b2 speed (1997) FTP Settings (1999) breaking words (1997) TCPconnect in a DB? (1999) Rhapsody? (1997) search form problem.. (1997) Re1000001: Setting up shop (1997) Major bug report on rootbeer (1997) Integration of PayPal ExpressCheckout (2006) WC Database Format (1997) [WebDNA] can webdna set the email header (w/[sendmail]) that controls where bounced email goes? (2012) Fun with Dates - finally resolved but.... (1997) Just Testing (1997)