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:

Re:quit command on NT (1997) Web Catalog 2 demo (1997) Summing fields (1997) WCS Newbie question (1997) [replaceChars] would be nice ... (1997) [WebDNA] TLS 1.2 and [tcpconnect] URGENT (2018) NumFound (1999) For those of you not on the WebCatalog Beta... (1997) Using WC for Bulk Emailings (1997) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) Some Advise needed (1997) Search/sort in URL Was: GuestBook example (1997) FREE Web Server Monitor FREE (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Works! (1997) [OT] Theiving B*****ds (2004) typhoon vs. webcatalog (1997) Shipping Calc - done (1998) OT: MacAuthorize (2001) Still trying to email... (1998)