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 » Time zone Information

Post new topic  Reply to topic
 Time zone Information « View previous topic :: View next topic » 
Author Message
prabha
PostPosted: Mon Jan 07, 2008 9:04 pm    Post subject: Time zone Information Reply with quote

Newbie

Joined: 13 Jul 2006
Posts: 9
Location: india-chennai

Hi

Does MB retain the time zone information like+05:30 while pasring.
I have a input data like 2001-12-31T16:30:00.000+02:00 but after parsing it is changed to 2001-12-31T16:30:00.000, the zone information "+02:00" is truncated.

The datetime format set in the messageset is yyyy-MM-dd'T'HH:mm:ss.SSSZZZU.

Can anyone help me out in this issue.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jan 08, 2008 1:21 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

The MRM parser does preserve time zone info. Which version of WMB are you using?
Back to top
View user's profile Send private message
prabha
PostPosted: Tue Jan 08, 2008 1:28 am    Post subject: Reply with quote

Newbie

Joined: 13 Jul 2006
Posts: 9
Location: india-chennai

version is 6.0.0.3
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jan 08, 2008 1:37 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
after parsing it is changed to 2001-12-31T16:30:00.000

Q1 : How are you determining this? By looking at the tree, or by looking at the output message?
Q2 : What is your message flow trying to do?
Back to top
View user's profile Send private message
VivekMeshram
PostPosted: Tue Jan 08, 2008 5:24 pm    Post subject: Reply with quote

Voyager

Joined: 25 Mar 2002
Posts: 83

Prabha,

Why don’t you define type as a sting for this date field to parse time zone requirement and later in message flow covert the date format as desire.
Back to top
View user's profile Send private message Send e-mail
prabha
PostPosted: Tue Jan 08, 2008 8:17 pm    Post subject: Reply with quote

Newbie

Joined: 13 Jul 2006
Posts: 9
Location: india-chennai

Kimbert,

A1:By Looking at the tree
A1:I extract the date and assign it to a date field ,Take the time portion ans assign it to a time field
Back to top
View user's profile Send private message
prabha
PostPosted: Tue Jan 08, 2008 9:36 pm    Post subject: Reply with quote

Newbie

Joined: 13 Jul 2006
Posts: 9
Location: india-chennai

i tried out the option of having the datatype of the field as string,it works.
I have one more thougth of placing the data pattern restriction on that field.The data pattern which i am giving should conform to both these data
2001-12-31T16:30:00.000Z and 2001-12-31T16:30:00.000+02:00 .

Can anyone help me out?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Time zone Information
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.