Re: Date Format not working

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57547
interpreted = N
texte = Note that if you are indeed in an orderfile (specified or implied), as of v5 you can specify [::date] to get to the WebDNA date tag instead of the orderfile variable with the unfortunate name of "date". So, try [::DATE %A, %B, %d, %Y] and see if that works for you. - brian On Apr 27, 2004, at 11:29 AM, John Peacock wrote: > MARK BERGKVIST wrote: > >> I have [DATE %A, %B %d, %Y] in a template and it used to display the >> date >> like: Tuesday, April 27, 2004 Now I get: 04/27/2004%A, %B %d, %Y] >> Anyone know why this is happening, the only thing that changed is I >> upgraded >> from V3 to V5 (Windows). > > You are in an [orderfile] context now. The [date] tag displays either > the order date (in an [orderfile] context) or the [possibly formatted] > current date and time. > > John > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com -- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Date Format not working ( Dave Hurley 2004)
  2. Re: Date Format not working ( Brian Fries 2004)
  3. Re: Date Format not working ( John Peacock 2004)
  4. Date Format not working ( "MARK BERGKVIST" 2004)
Note that if you are indeed in an orderfile (specified or implied), as of v5 you can specify [::date] to get to the WebDNA date tag instead of the orderfile variable with the unfortunate name of "date". So, try [::DATE %A, %B, %d, %Y] and see if that works for you. - brian On Apr 27, 2004, at 11:29 AM, John Peacock wrote: > MARK BERGKVIST wrote: > >> I have [DATE %A, %B %d, %Y] in a template and it used to display the >> date >> like: Tuesday, April 27, 2004 Now I get: 04/27/2004%A, %B %d, %Y] >> Anyone know why this is happening, the only thing that changed is I >> upgraded >> from V3 to V5 (Windows). > > You are in an [orderfile] context now. The [date] tag displays either > the order date (in an [orderfile] context) or the [possibly formatted] > current date and time. > > John > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com -- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Brian Fries

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:

Claris HomePage messes up the code (1997) Authorize.net setup (2002) Error: Missing c in orderfile???? (2005) Configuring E-mail (1997) setlineitem - price (2003) Sort Order on a page search (1997) Emailer Set Up (1997) creative use of webcatalog (1998) Creating main- and sub-category search (1997) [WebDNA] Migration from 6.2 to 7. Problems with writing to DB's (2012) Categorizing by data (2001) Not Enough Memory for Database? (2003) Re:listfiles-looking for slick solution (1997) PCS Frames (1997) using listfiles to build a database? (2000) How To question on setting up downloads (1997) WebCatalog as a ListServ (1998) Re:2nd WebCatalog2 Feature Request (1996) WebCat .pdf file is formatted incorrectly... (2000) WCS Newbie question (1997)