I just checked my iDate and unfortunately it does not support a date in the
format of DD/MMM/CCYY where MMM is a month name. I could extend it to handle
this but it doesn't do it now. It will support a DD/MM/CCYY format.

On Thu, Sep 3, 2009 at 2:41 PM, Helge Bichel <hbi@xxxxxxx> wrote:

Look at iDate on http://www.think400.dk/downloads.htm


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:
midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dean.Eshleman@xxxxxxxxxxxxxx
Sent: Thursday, September 03, 2009 9:10 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Using SQL to convert date

Hi,

Using SQL, I'm trying to figure out how to convert a character field that
contains '27/Aug/2009' into an 8 digit numeric date in the format
20090827. After the conversion, I want to load it into a field in the
same record. I know I can substring out the year and the day. The tough
part is converting the month. Is a CASE statement my only option? TIA

Dean Eshleman,
MMA, Inc.

______________________________________________________________________
Confidentiality Notice: This information is intended only for the
individual or entity named. If you are not the intended recipient,
do not use or disclose this information. If you received this e-mail in
error, please delete or otherwise destroy it and contact us
at (800) 348-7468 so we can take steps to avoid such transmissions errors
in the future. Thank you.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].