Re: WC 3.0.1 Mac days_to_date
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20548
interpreted = N
texte = Your code is fine, it's the default preference for reading dates that's the problem. Go to the WebCatalog Admin pages and select Preferences. Set the Read Date Format to month/day/year (American) - I'll bet yours is set for European which means it reads 10/12/98 as 10th day of december 98.John.>I am unable to get [format days_to_date %B][math]{[date]}[/math][/format]>to work properly. The code above returns December when using today's date,>10/19/1998. I'm using the Mac cgi, v3.0.1 with WebStar 2.1. (WC 2.x likes>the above code.)>>Any hints as to how I can correct this?>>Thanks.>>Nathan Hyde>Casady & Greene>email: nh_is@casadyg.com, nhyde@mail3.casadyg.com>web page: http://www.casadyg.com>MacBundle.com: http://www.macbundle.com>WinBundle.com: http://www.winbundle.com John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
Your code is fine, it's the default preference for reading dates that's the problem. Go to the WebCatalog Admin pages and select Preferences. Set the Read Date Format to month/day/year (American) - I'll bet yours is set for European which means it reads 10/12/98 as 10th day of december 98.John.>I am unable to get [format days_to_date %B]
[math]{
[date]}[/math][/format]>to work properly. The code above returns December when using today's date,>10/19/1998. I'm using the Mac cgi, v3.0.1 with WebStar 2.1. (WC 2.x likes>the above code.)>>Any hints as to how I can correct this?>>Thanks.>>Nathan Hyde>Casady & Greene>email: nh_is@casadyg.com, nhyde@mail3.casadyg.com>web page: http://www.casadyg.com>MacBundle.com: http://www.macbundle.com>WinBundle.com: http://www.winbundle.com John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
John Hill
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:
URGENT: WebDNA Server Not Running (2003)
PCS Frames (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Searching multiple Databases (1997)
Calculating multiple shipping... (1997)
When do we get to request new features? (1999)
WebCatalog & htdig (2000)
WebDNA equivalent for $REQUEST_URI (2004)
[append] and SSL (1997)
NewCart+Search with one click ? (1997)
SiteGaurd file Cache vs webcatalog cache (1997)
[OT] Who's got a cool link (2002)
math on date? (1997)
[WebDNA] Digest from talk@webdna.us (2011)
Problems with [Search] param - Mac Plugin b15 (1997)
SuperFlush stumped on simple sort (1999)
Displaying photo attached to first record (1997)
[Capitalize] (1998)
protect tag on NT IIS (1997)
I give up!! (1997)