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:
[WebDNA] Successful, working WebDNA7/CentOS install? (2013)
two questions (1997)
Signal Raised (1997)
Unceremonious Unwanted Unsubscription (1999)
Nesting format tags (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Pass a form (2003)
Re:trouble (1997)
[OT] two domains one site... (2005)
shipcost (1997)
[WebDNA] Strange MATH result - BUG (2010)
Bug Report, maybe (1997)
Criticism of WebCatalog: Keep It Coming! (1998)
pull downs (1997)
WCS Newbie question (1997)
Dynamic Generation of PDFs? (2003)
[WebDNA] suggestion: listwords return xth word (2017)
Polls (2003)
Database Options (1997)
Kaaaaahhhhhhhnnnnnnn! (1997)