WebCat2b13MacPlugin - [math][date][/math] problem

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10545
interpreted = N
texte = When I put [date] in my template, WebCat2 displays:1997/04/06This is corrrect, because my date prefs are set like this:%Y/%m/%dHowever, when I try to do some math on that date and display the results as follows:[math][date]-1[/math]the results display:-2instead of:1997/04/05And when I try:[math][date]-7[/math]the results display:-8instead of:1997/03/30I was under the impression that I could do math on either [date] or on a date field in my database, and the results would display a date. Isn't that what was meant by the following addition to the Change History in the b13 read Me ... or am I just misunderstanding this?4/1/97 - Added native date type to [math] context.Sincerely, Ken ------------------------------------ To leave this talk list send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCat2b13MacPlugin - [math][date][/math] problem (Kenneth Grome 1997)
  2. Re: WebCat2b13MacPlugin - [math][date][/math] problem (Grant Hulbert 1997)
  3. WebCat2b13MacPlugin - [math][date][/math] problem (Kenneth Grome 1997)
When I put [date] in my template, WebCat2 displays:1997/04/06This is corrrect, because my date prefs are set like this:%Y/%m/%dHowever, when I try to do some math on that date and display the results as follows:[math][date]-1[/math]the results display:-2instead of:1997/04/05And when I try:[math][date]-7[/math]the results display:-8instead of:1997/03/30I was under the impression that I could do math on either [date] or on a date field in my database, and the results would display a date. Isn't that what was meant by the following addition to the Change History in the b13 read Me ... or am I just misunderstanding this?4/1/97 - Added native date type to [math] context.Sincerely, Ken ------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Kenneth Grome

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:

Problems with store (1998) Limiting user access to .tmpl files (1997) webcat (2000) Design Help Needed (1998) email [title] (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) WCS Newbie question (1997) Server crash (1997) HELP WITH DATES (1997) [WebDNA] WebDNA 7 (2011) [SHOWIF AND/OR] (1997) WebCat2b15MacPlugin - [protect] (1997) textarea question (1998) Erotic Sites (1997) Re:listfiles-looking for slick solution (1997) b12 cannot limit records returned and more. (1997) emailer w/F2 (1997) Support ?? (1997) Re:trouble (1997) WC 2.0 frames feature (1997)