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 » SOLVED - parsing of timestamp missing microseconds

Post new topic  Reply to topic
 SOLVED - parsing of timestamp missing microseconds « View previous topic :: View next topic » 
Author Message
ashoon
PostPosted: Fri Dec 15, 2006 10:04 am    Post subject: SOLVED - parsing of timestamp missing microseconds Reply with quote

Master

Joined: 26 Oct 2004
Posts: 235

Hello all,

I ran into an intersting problem...

currently the XML data coming in has a timestamp field that looks like

yyyy-MM-dd'T'HH:mm:ssZZZZZZ

however the input node parses this field (xs:dateTime) as

yyyy-MM-dd'T'HH:mm:ssZZZ

and sets the ZZZ to 000... wondering which setting I can specify what that dateTime field in my xsd looks like?!?

Thanks


Last edited by ashoon on Thu Dec 21, 2006 10:51 am; edited 1 time in total
Back to top
View user's profile Send private message
ashoon
PostPosted: Thu Dec 21, 2006 6:23 am    Post subject: SOLVED Reply with quote

Master

Joined: 26 Oct 2004
Posts: 235

need to update two areas... first is the message set properties need to be set as

yyyy-MM-dd'T'HH:mm:ss.SSSSSS

then the properties of the actual field in the msxd needs to be set to

yyyy-MM-dd'T'HH:mm:ss.SSSSSS

A
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 21, 2006 7:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes. 'Z' is for GMT-Offset, not miliseconds.

I got bit by this one myself - from an inherited message definition, and a failure (on my part) to properly read the InfoCenter.
_________________
I am *not* the model of the modern major general.
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 » SOLVED - parsing of timestamp missing microseconds
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.