Question
CF8 can’t read the time coming from CF7 Web services?
Hello,
I have follwing Code runing in CF7 box:
<cfcomponent>
<cffunction name="test" access="remote" returntype="any">
<cfargument name="in" type="string" required="true">
<cfset x = CreateDateTime(2008,10,30,14,00,00)>
<cfreturn x>
</cffunction>
</cfcomponent>
=============================================================
And i call that CFC form CF8 box with code bellow :
<cfinvoke
webservice =" http://#application.WebService#/MessageMakerData/test.cfc?wsdl"
method ="test"
returnvariable ="out">
<cfinvokeargument name="in" value=""/>
</cfinvoke>
<cfdump var="#out#">
--------------------------------------------------------------------------------
<cfset x = CreateDateTime(2008,10,30,14,00,00)>
<cfdump var="#x#">
============================================
That give me these results:
{ts '2008-10-30 15:00:00'}
--------------------------------------------------------------------------------
{ts '2008-10-30 14:00:00'}
============================================
As you can see CF8 have added extra one hour to the time comming from CF7 web service call.
Do you have any idea why?
Thanks
Sam
I have follwing Code runing in CF7 box:
<cfcomponent>
<cffunction name="test" access="remote" returntype="any">
<cfargument name="in" type="string" required="true">
<cfset x = CreateDateTime(2008,10,30,14,00,00)>
<cfreturn x>
</cffunction>
</cfcomponent>
=============================================================
And i call that CFC form CF8 box with code bellow :
<cfinvoke
webservice =" http://#application.WebService#/MessageMakerData/test.cfc?wsdl"
method ="test"
returnvariable ="out">
<cfinvokeargument name="in" value=""/>
</cfinvoke>
<cfdump var="#out#">
--------------------------------------------------------------------------------
<cfset x = CreateDateTime(2008,10,30,14,00,00)>
<cfdump var="#x#">
============================================
That give me these results:
{ts '2008-10-30 15:00:00'}
--------------------------------------------------------------------------------
{ts '2008-10-30 14:00:00'}
============================================
As you can see CF8 have added extra one hour to the time comming from CF7 web service call.
Do you have any idea why?
Thanks
Sam
