math context ignores date prefs?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20953
interpreted = N
texte = Hello there! I am thinking that the math context does not handle date formats properly.Or am I doing something wrong? My date preference: %d.%m.%Y (german) A simple [date] returns i.e. 13.11.1998. Good job. A [math]{[date]}[/math] returns 13.11 Hmm. Seems to be treated as floating point. so... [math date]{[date]}[/math] returns 01/11/0000. Huh? Helvetica[math date]{[date %d/%m/%y]}[/math] returns 13/11/1998. Good date. Wrong format. should be 13.11.1998. What can I do to get this going? I need this because I want to read appointments of the next 50 days like .....led_teminedatarq=[math date]{[date]}+50[/math]&d_terminetype=date&.... and this does not work because of the different date formats. Setup: AWS 8550, WCat 2.13 acgi, Web* 2.1, enough Ram HELP!Matthias Associated Messages, from the most recent to the oldest:

    
  1. RE:math context ignores date prefs? (John Hill 1998)
  2. math context ignores date prefs? (Matthias Precht 1998)
Hello there! I am thinking that the math context does not handle date formats properly.Or am I doing something wrong? My date preference: %d.%m.%Y (german) A simple [date] returns i.e. 13.11.1998. Good job. A [math]{[date]}[/math] returns 13.11 Hmm. Seems to be treated as floating point. so... [math date]{[date]}[/math] returns 01/11/0000. Huh? Helvetica[math date]{[date %d/%m/%y]}[/math] returns 13/11/1998. Good date. Wrong format. should be 13.11.1998. What can I do to get this going? I need this because I want to read appointments of the next 50 days like .....led_teminedatarq=[math date]{[date]}+50[/math]&d_terminetype=date&.... and this does not work because of the different date formats. Setup: AWS 8550, WCat 2.13 acgi, Web* 2.1, enough Ram HELP!Matthias Matthias Precht

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:

Summing fields (1997) CMSBuilder (2004) JavaScript Image Problem (1998) WebCatalog host... (2000) Small problem (2001) Signal Raised error (1997) WebDNA and FTP (2003) HELP! Only 1/2 of pricing.db loading!?! (1999) WebCat2b15MacPlugin - showing [math] (1997) WCS Newbie question (1997) New syntax feedback for 4.0 (2000) Generating Report Totals (1997) Server capacity (2003) refreshing IE with posted .tmpl (1997) Refreshing document (2000) SERIOUS Problem (1998) Protect vs Authenicate (1997) Installation under OS X 10.3.7 (2004) PSC recommends what date format yr 2000??? (1997) Webstar 1.3.1 PPC (1997)