Re: Date format problems

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13419
interpreted = N
texte = >I am using the [date] tag to save documents into certain folders based >on date, but the tag I am using, which is [date %A], which is supposed >to be giving me Friday, is giving me 09/12/97%A]. I have this exact >tag on another page, and it works just fine. What gives?John:You are in an order context so the [date] tag is the ORDER date, not the system date. You have to use format days_to_date to get the format that you want.Aloha, Olin..................................................................... W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON director, website creation Honolulu San Francisco 2800 woodlawn drive 222 sutter street olin@worldpoint.com suite 170 sixth floor www.worldpoint.com honolulu, hi 96822 san francisco, ca 94108 voice.808.539.3978 fax.808.539.3943 cell.808.291.1610 ..................................................................... Associated Messages, from the most recent to the oldest:

    
  1. Re: Date format problems (Grant Hulbert 1997)
  2. Re: Date format problems (John Hill 1997)
  3. Date format problems (John S. Winningham 1997)
  4. Re: Date format problems (Olin 1997)
>I am using the [date] tag to save documents into certain folders based >on date, but the tag I am using, which is [date %A], which is supposed >to be giving me Friday, is giving me 09/12/97%A]. I have this exact >tag on another page, and it works just fine. What gives?John:You are in an order context so the [date] tag is the ORDER date, not the system date. You have to use format days_to_date to get the format that you want.Aloha, Olin..................................................................... W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON director, website creation Honolulu San Francisco 2800 woodlawn drive 222 sutter street olin@worldpoint.com suite 170 sixth floor www.worldpoint.com honolulu, hi 96822 san francisco, ca 94108 voice.808.539.3978 fax.808.539.3943 cell.808.291.1610 ..................................................................... Olin

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:

WebCommerce Security Alert! (1996) Searchable WebCat (etc.) Docs ? (1997) WebCat2 - Getting to the browser's username/password data (1997) Showing unopened cart (1997) Firesite and [referrer] atg broke (1997) [WebDNA] java and webnda (2017) Help! WebCat2 bug (1997) Can't find templaes (1997) triggers.db (1999) [carts] and databases (1997) Bad Cookie / Internet Option / Internet Explorer (2004) Anyone using unix? Having problems... (2000) Reminder for beta testers (2000) WebCat2 several catalogs? (1997) download a file (2001) label?! (2005) [WebDNA] Unexpected behavior ... (2010) Bug alert! (1997) RE: Can a database get stomped by simultaneous access? (1997) Multiple prices (1997)