Re: Date problems
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12031
interpreted = N
texte = Grant Hulbert wrote:> > >I've been trying to get the date tags to work. I need to have the> >month, day, and year come up in separate fields, but when I use the tag> >[date %m] etc. I get the default date 06/18/97 plus the end of the tag> >%m, etc. What am I doing wrong here? Thanks in advance.> > [date] is for displaying today's date. Are you sure you're not trying to use this to display a date field from a database? If you have a date field in a database, and you put [date] inside a [foundItems] loop, WebCatalog will display the database field value instead of today's date.No, actually all i'm trying to do is write the present day's date out toa text file. It's not inside a foundItems loop.John-- John S. WinninghamWebWright Inc.john@webwrightinc.comhttp://www.webwrightinc.com/
Associated Messages, from the most recent to the oldest:
Grant Hulbert wrote:> > >I've been trying to get the date tags to work. I need to have the> >month, day, and year come up in separate fields, but when I use the tag> >[date %m] etc. I get the default date 06/18/97 plus the end of the tag> >%m, etc. What am I doing wrong here? Thanks in advance.> >
[date] is for displaying today's date. Are you sure you're not trying to use this to display a date field from a database? If you have a date field in a database, and you put
[date] inside a
[founditems] loop, WebCatalog will display the database field value instead of today's date.No, actually all i'm trying to do is write the present day's date out toa text file. It's not inside a foundItems loop.John-- John S. WinninghamWebWright Inc.john@webwrightinc.comhttp://www.webwrightinc.com/
John S. Winningham
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:Emailer and encryption (1997)
WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997)
WebCat2: Found Items syntax, etc. (1997)
Bug or syntax error on my part? (1997)
Getting a domain listening on port 443 and port 80? (2003)
PCS Frames-Default page is solution! (1997)
Strange ThisURL under Linux (2000)
Robert Minor duplicate mail (1997)
Requiring that certain fields be completed (1997)
WebMerchant 3.0? (1998)
WebCat2 - storing unformatted date data? (1997)
Lookup Notfound (1998)
Security (2002)
Search as error page (2002)
Discounts: Buy One, Get One =?ISO-8859-1?Q?99=A2?= (2004)
[shownext] and descending order (1997)
WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997)
Emailer compatibility..... (1998)
Credit card types (1997)
More on the email templates (1997)