The keyword here is that you are using a string. Use createDate() first,
then createODBCDateTime()

-----Original Message-----
From: Mickael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 11:55 AM
To: CF-Talk
Subject: CreateODBCDate issue

Hi All,

I am a small issue with CreateODBCDate

I have a variable that is a string its value is '20040109'

I am trying this Dateformat(CreateODBCDate(#variables.strfilename#),
"mm/dd/yyyy")

But is is returning '12/14/56767' instead of the proper date.  Is there
something else I should be doing to the sting?

Thanks

Mike
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to