what about

<cfset myDate = replace(listFirst("2003:12:27 12:19:58", " "), ":", "/",
"all")>
<cfset myDate = createDate(listFirst(myDate, "/"), listGetAt(myDate, 2),
listLast(myDate, "/"))>
<cfset myTime = listLast("2003:12:27 12:19:58", " ")>
#dateFormat(myDate, "dd/mm/yy")# #timeFormat(myTime, "hh:mm tt")#

Taco Fleur
Blog  <http://www.tacofleur.com/index/blog/>
http://www.tacofleur.com/index/blog/
Methodology http://www.tacofleur.com/index/methodology/

Tell me and I will forget
Show me and I will remember
Teach me and I will learn

-----Original Message-----
From: Jeff Fongemie [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 18 February 2004 2:29 AM
To: CF-Talk
Subject: Date Format Question

I've got a date-time that is goinmg to be passed to me as this:

2003:12:27 12:19:58

Can anyone suggest the best way to get that into a more friendly format as
in..

12/27/03 12:19pm ??

It obviously won't fit into standard dateformat function. Any ideas I can
come up with are complicated. There must be an easy solution?

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

Reply via email to