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 » Problem with datetime parser

Post new topic  Reply to topic
 Problem with datetime parser « View previous topic :: View next topic » 
Author Message
edasnarik
PostPosted: Thu Feb 18, 2010 6:05 am    Post subject: Problem with datetime parser Reply with quote

Acolyte

Joined: 10 Mar 2009
Posts: 61

Unable to parse value '2003-08-04T00:45:23166' using format string 'yyyy-MM-dd'T'HH:mm:ssZZZ'. Strict Datetime Checking = '1'.

Unable to parse value '2003-08-04T00:45:23166' using format string 'HH:mm:ssZZZ'. Strict Datetime Checking = '1'.

Unable to parse value '2003-08-04T00:45:23166' using format string 'yyyy-MM-dd'T'HH:mm:ssZZZ'. Strict Datetime Checking = '0'.

Unable to parse value '00:45:23166' using format string 'HH:mm:ssZZZ'. Strict Datetime Checking = '0'.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 18, 2010 6:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

are you sure that ZZZ is miliseconds?
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Feb 18, 2010 6:27 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Check this

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?
topic=/com.ibm.etools.mft.doc/ad09275_.htm
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
edasnarik
PostPosted: Thu Feb 18, 2010 6:37 am    Post subject: Reply with quote

Acolyte

Joined: 10 Mar 2009
Posts: 61

mine is a XML Message Set generated from Acord 1.3 Schema
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Feb 18, 2010 8:37 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Look in the infocentre section titled "DateTime as String Data" it will tell you everything you need to correct this problem
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
edasnarik
PostPosted: Thu Feb 18, 2010 9:55 pm    Post subject: Reply with quote

Acolyte

Joined: 10 Mar 2009
Posts: 61

mqjeff wrote:
are you sure that ZZZ is miliseconds?


I am not sure , and is it Zonal Information ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 18, 2010 10:06 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Quote:
'2003-08-04T00:45:23166'

That time format looks a little bit bizarre to me...

Shouldn't look more like '2003-08-04T00:45:23.166' Note the additional '.' to mark the second / millisecond separation....

And the format should look something like: 'yyyy-MM-dd'T'HH:mm:ssSSS' in the first case and like 'yyyy-MM-dd'T'HH:mm:ss.SSS' if the addional demarcation between seconds and milliseconds is taken.

It's all in the relevant documentation about Date Time formats

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 » Problem with datetime parser
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.