On Jan 2, 2008 12:02 PM, Mark Fuqua <[EMAIL PROTECTED]> wrote: > I have to use dates in an xml document. The date comes from the database > like so. > > 2008-02-01 00:00:00.0 > > I need to get rid of the time and replace the dashes with periods to make > the format as follows: > > 2008.02.01
dateFormat(myDate, 'yyyy.mm.dd') ? -- "Scientists tell us that the fastest animal on earth, with a top speed of 120 feet per second, is a cow that has been dropped out of a helicopter." - Dave Barry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295714 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

