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:
Using Applescript to process WebCatalog functions (1998)
Cart -> Date and Time (2004)
showifs (1999)
Date errors? (1999)
WebCat2: multiple currency support (1997)
Suggestions (1998)
Great product and great job ! (1997)
Viewing Changes (1998)
Summing fields (1997)
[OT] DOD (2002)
Using Applescript to process WebCatalog functions (1998)
Purchase Plugin Missing (1996)
RE: Credit card processing - UK (1997)
Sorting error (1997)
[WebDNA] Error 500 with SUMM=T (2017)
A two part question (1999)
show all problem (1997)
Sorting Orders (1997)
Only charge card when product shipped ? (1997)
Adding Multiple Items to Shopping Cart from a Resultspage (1997)