Date = parseDateTime(Rereplace(date, "^([0-9]{4}):([0-9]{2}):(.*)$",
"\1/\2/\3"));
Date = dateFormat(date, "...");

You might be able to get by with removing either parseDateTime() or the
Rereplace(), but I'm not 100% sure.

Cheers,
barneyb

> -----Original Message-----
> From: Jeff Fongemie [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 17, 2004 8: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