You said CFMX7 right? That should work. Here's the exact same code on a
CFMX7 server:
http://www.modus.bz/xmltest.cfm <http://www.modus.bz/xmlTest.cfm>

On Mon, Jan 26, 2009 at 12:14 PM, Erika L. Walker <[email protected]>wrote:

> I got this:
>
> "The value of the parameter 2, which is currently "January 1 1970 00:00",
> must be a class java.util.Date value. "
>
>
> On Mon, Jan 26, 2009 at 12:04 PM, Michael Grant <[email protected]> wrote:
>
> > <cfset myEpoch = 1186130403>
> > <cfset myLocal = DateAdd("s",myEpoch,DateConvert("utc2Local", "January 1
> > 1970 00:00"))>
> >
> > <cfoutput>
> > Local Date/Time: #DateFormat(myLocal, "mm/dd/yyyy")#
> #TimeFormat(myLocal)#
> > </cfoutput>
> >
> >
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:286684
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to