Re: Date and Comparisons

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 46359
interpreted = N
texte = on 12/17/02 12:19 PM, Jeff Logan at jefftalk@insideout.com so noted...> [showif [duedate]<[date] Over Due [/showif] > > When the duedate = 02/01/03 and today's date is 12/17/02Curly brackets and [math] in the comparison and use a four-digit year.[showif [math]{[duedate]}[/math]<[math]{[date]}[/math]] Over Due [/showif]02/01/2003 will work, 02/01/03 will not. By default, it will be treated as 1903.Change the Century Break value in your WebDNA prefs if you're forced to use a two-digit year. Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Date and Comparisons (Jeff Logan 2002)
  2. Re: Date and Comparisons (Glenn Busbin 2002)
  3. Re: Date and Comparisons (Matthew Bohne 2002)
  4. Re: Date and Comparisons (Rob Marquardt 2002)
  5. Re: Date and Comparisons (Dan Strong 2002)
  6. Date and Comparisons (Jeff Logan 2002)
on 12/17/02 12:19 PM, Jeff Logan at jefftalk@insideout.com so noted...> [showif [duedate]<[date] Over Due [/showif] > > When the duedate = 02/01/03 and today's date is 12/17/02Curly brackets and [math] in the comparison and use a four-digit year.[showif [math]{[duedate]}[/math]<[math]{[date]}[/math]] Over Due [/showif]02/01/2003 will work, 02/01/03 will not. By default, it will be treated as 1903.Change the Century Break value in your WebDNA prefs if you're forced to use a two-digit year. Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Rob Marquardt

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:

FORM NONSENSE - WAS: How much is too much? (2002) RE: Problems with dbcatalog.exe (1997) E-mail Attachments (1997) Calculating Age from DB fields (2003) HELP WITH DATES (1997) Sort Order on a page search (1997) Weird Math and SV (1997) FORMS: Returning a specific page (1997) WebCat2final1 crashes (1997) E-Mailer (WebCatb15acgiMac) (1997) WebCat2 Append problem (B14Macacgi) (1997) [TCPSend] and whois? (1999) Duplicate Carts (2000) Order not created error (1997) Emailer setup (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) WebSite vs. IIS (1997) Max Record length restated as maybe bug (1997) [WebDNA] Strange [url] character conversions (2010) [WebDNA] Generating Excel File Via WebDNA (2010)