Six Stars

UTC TMAP format

Hi,

 

I am receiving from my webservice a datetime with UTC format

 

123.JPG

 

How should I configure TMAP field to get this date format? Probably with a "Z" at the end but I am getting errors :/

 

1234.JPG

 

Thanks!

  • ESB
1 ACCEPTED SOLUTION

Accepted Solutions
Six Stars

Re: UTC TMAP format

I have resolved the problem. Correct date pattern was: "yyyy-MM-dd'T'HH:mm:ssXXX"

5 REPLIES
Nine Stars

Re: UTC TMAP format

ou can use in tMap

yyyy-MM-dd'T'HH:mm:ss Z

by the way - one very good guy, make this site for help us Smiley Happy
Java Simple Date tester online

 

very useful!

-----------
Six Stars

Re: UTC TMAP format

Hi,

 

I was wrong with the input values, at this moment I am not sure at 100% the format of the date that I am getting.

 

My client says that the format is datetime with those specifications: https://www.w3.org/TR/xmlschema-2/#dateTime

 

I don't really know what I should put on TMAP, I have tried a lot of formats. The datetime format should be the UTC.

Nine Stars

Re: UTC TMAP format

 

What are You mean?:

 


at this moment I am not sure at 100% the format of the date that I am getting.

 

 

-----------
Six Stars

Re: UTC TMAP format

My client is sending me a datetime through a webservice, he says that the format is represented using this reference: https://www.w3.org/TR/xmlschema-2/#dateTime

 

I have no idea of how to get his date, I am getting errors all the time. I think that I am supposted to get something like 2017-06-25 12:10:13+02:00

 

I tried "yyyy-MM-dd HH:mm:ss Z"

Six Stars

Re: UTC TMAP format

I have resolved the problem. Correct date pattern was: "yyyy-MM-dd'T'HH:mm:ssXXX"