Re: Changing Date Format in Field

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25401
interpreted = N
texte = >Hi All: > >I have a field in a database called eventdate which contains the date of >an event. Currently, I have a search that sorts by date, and all works >great. However, I want to format the eventdate to be like Wed, Feb. 2 >even though my global pref is mm/dd/yyyy. I know I can overide the format of >the [date] tage by adding the modifiers, but can I do this to a field that >contains date information? How?First, turn the date into the number of days since 0000 by using the math context, then change that number to the proper date format by using the format context.================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Changing Date Format in Field (Kenneth Grome 1999)
  2. Re: Changing Date Format in Field (Timothy W. Killian 1999)
  3. Re: Changing Date Format in Field (Kenneth Grome 1999)
  4. Changing Date Format in Field (Timothy W. Killian 1999)
>Hi All: > >I have a field in a database called eventdate which contains the date of >an event. Currently, I have a search that sorts by date, and all works >great. However, I want to format the eventdate to be like Wed, Feb. 2 >even though my global pref is mm/dd/yyyy. I know I can overide the format of >the [date] tage by adding the modifiers, but can I do this to a field that >contains date information? How?First, turn the date into the number of days since 0000 by using the math context, then change that number to the proper date format by using the format context.================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 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:

Search Engine questions ... (2002) Document Contains No Data! (1997) problems with 2 tags (1997) Re:Replace command help (1998) WebStar and CopyFile (2000) Cart Numbers (1997) Bug in random search - MacOS v4.5 plugin ... (2002) Trouble with carts (2000) Using [Include] Context (1999) [WebDNA] WebDNA Roll Call (2013) Resume Catalog ? (1997) Stumpted Again (1997) WebCat2b13 Command Reference Doc error (1997) newbies to web, spaces in email address (1998) Repost: Orderfile, Grandtotal: How do I get it to all add up. (2000) Changing price for a SLU based on options (size, etc.) (1997) 2.1 release (1998) Searching multiple Databases (1997) My slower response (1997) WC1.6 to WC2 date formatting (1997)