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 asfollows:[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 adate field in my database, and the results would display a date. Isn't thatwhat was meant by the following addition to the Change History in the b13read 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.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Associated Messages, from the most recent to the oldest:
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 asfollows:
[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 adate field in my database, and the results would display a date. Isn't thatwhat was meant by the following addition to the Change History in the b13read 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.comwith BODYunsubscribe 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:
WebCatalog2 Feature Feedback (1996)
Speed Optimization - Mac (1997)
writing db to disk (1997)
A question on sub-categories (1997)
Here we go again... (2006)
Question about replacing words (1998)
Outsourcing partnership ... (2005)
[price] maddness (2002)
Bug in 4.5 - Needs to be fixed ASAP. (2002)
Ok here is a question? (1997)
email [title] (1997)
Fwd: checkboxes (2000)
os x server (2000)
Comments in db? (1997)
Generating unique SKU from [cart] (1997)
E-Mail Preferences in Admin Folder (1997)
Problems with [Applescript] (1997)
Re2: frames & carts (1997)
[OT] CSS div/span (2004)
RE: Signal Raised (1997)