Posted: Mon Oct 06, 2008 8:12 pm Post subject: How to recognise the Incoming Date Time Field?
Centurion
Joined: 14 Feb 2008 Posts: 100
Hi All,
In a message flow using the SOAP Input ->Compute -> SOAP Request , I have to check the incoming datetime field . If the incoming value is in GMTTIMESTAMP format i.e. yyyy-MM-ddTHH:mm:ssZ format then I have just pass the value to SOAP Request else if it does not have the 'Z' at the end , I have to convert it in to the GMTTIMESTAMP format.
My problem is this that when a value in the yyyy-MM-ddTHH:mm:ssZ format enters the compute node the T and Z associated with it just vanish. So I cannot check whether it is in GMTTIMESTAMP format or not.
Can anybody provide a solution for recognising the GMTTIMESTAMP format.
Posted: Mon Oct 06, 2008 8:24 pm Post subject: Re: How to recognise the Incoming Date Time Field?
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
sankritya wrote:
Hi All,
In a message flow using the SOAP Input ->Compute -> SOAP Request , I have to check the incoming datetime field . If the incoming value is in GMTTIMESTAMP format i.e. yyyy-MM-ddTHH:mm:ssZ format then I have just pass the value to SOAP Request else if it does not have the 'Z' at the end , I have to convert it in to the GMTTIMESTAMP format.
My problem is this that when a value in the yyyy-MM-ddTHH:mm:ssZ format enters the compute node the T and Z associated with it just vanish. So I cannot check whether it is in GMTTIMESTAMP format or not.
Can anybody provide a solution for recognising the GMTTIMESTAMP format.
The format described is not time zone sensitive because it allows you to map to UTC. So what you have is timestamp and a timezone offset.
Now you can play around with the formatting of your local timezone or express your time in gmttimestamp and be done with all your time problems. However you want to note that the broker will take the setting of the MessageSet for Daylight Savings Time: DST.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum