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:
Summing fields (1997)
Protect (1997)
woops - speed results - right subject (2002)
Viewing old carts (was FEW QUESTIONS) (1997)
I think WebDNA-Talk died ... :( (1997)
Image download problem (2001)
PCS Frames (1997)
Plugin or CGI or both (1997)
need to delete a database remotely (2000)
Help Encrypt/Decrypt eMail (2003)
Shopping problems with 2.1b3 acgi (1997)
OT:looking for developers with solutions (2000)
Help! WebCat2 bug (1997)
[Announce] Newest Commerce Site based on WebCatalog (1997)
Separate SSL Server (1997)
Emailer setup (1997)
WebDNA Codes in Secure Mode (1997)
Excel PMT Calculation (2001)
State Coalition Approves Internet Sales Tax Plan (2002)
Formvariable won't update (1999)