ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to recognise the Incoming Date Time Field?

Post new topic  Reply to topic
 How to recognise the Incoming Date Time Field? « View previous topic :: View next topic » 
Author Message
sankritya
PostPosted: Mon Oct 06, 2008 8:12 pm    Post subject: How to recognise the Incoming Date Time Field? Reply with quote

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.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Oct 06, 2008 8:24 pm    Post subject: Re: How to recognise the Incoming Date Time Field? Reply with quote

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.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to recognise the Incoming Date Time Field?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.