Re: Converting back to numerical date
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52300
interpreted = N
texte = There may be easier ways, but here's one method:January is month #[convertwords db=monthConvert.db]January[/convertwords]August is month #[convertwords db=monthConvert.db]August[/convertwords]where monthConvert.db is:from toJanuary 01February 02March 03April 04May 05June 06July 07August 08September 09October 10November 11December 12Hope this helps.-- Brian Wachter5 Moulton StreetPortland, ME 04101bwachter@stoneport.com207.772.3826On 8/18/03 9:02 AM, "Justin Carroll"
wrote:> If I have the month name as a string such as "January", how would I convert> that back to numerical date format as in "01"? Thanks.> > Justin Carroll> > -------------------------------------------------------------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:
There may be easier ways, but here's one method:January is month #[convertwords db=monthConvert.db]January[/convertwords]August is month #[convertwords db=monthConvert.db]August[/convertwords]where monthConvert.db is:from toJanuary 01February 02March 03April 04May 05June 06July 07August 08September 09October 10November 11December 12Hope this helps.-- Brian Wachter5 Moulton StreetPortland, ME 04101bwachter@stoneport.com207.772.3826On 8/18/03 9:02 AM, "Justin Carroll" wrote:> If I have the month name as a string such as "January", how would I convert> that back to numerical date format as in "01"? Thanks.> > Justin Carroll> > -------------------------------------------------------------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 Wachter
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:
Interfacing a webcat front end registartion to CommunigatePRO (2000)
carriage returns in data (1997)
Online reference (1997)
# fields limited? (1997)
New public beta available (1997)
Cookie Issue - No domain (2004)
creates folders with AS (1997)
[index] (1997)
AppleScript question (1997)
Line items in table cells (1997)
Fun with Dates - revisited (again) (1997)
Search returns all, not 20 (1997)
Searching for all records (1998)
European Convention (2004)
WebCat2: multiple currency support (1997)
Nesting format tags (1997)
[WC 2.1.30] Stack overflow. (2000)
RE: Error: template (1997)
sorting... (2003)
[OT] What System Software? (2003)