Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

UTC TMAP format

Hi,

 

I am receiving from my webservice a datetime with UTC format

 

0683p000009Lust.jpg

 

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

 

0683p000009LvH5.jpg

 

Thanks!

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

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

View solution in original post

8 Replies
vapukov
Master II
Master II

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 0683p000009MACn.png
Java Simple Date tester online

 

very useful!

Anonymous
Not applicable
Author

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.

vapukov
Master II
Master II

 

What are You mean?:

 


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

 

 

Anonymous
Not applicable
Author

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"

Anonymous
Not applicable
Author

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

Sunny_Nanda
Contributor
Contributor

Hii, Can you tell me how to convert date time utc to pst in tmap in talend without create routines


@vapukov wrote:

 

What are You mean?:

 


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

 

 


 

Anonymous
Not applicable
Author

I have a similar question.  A web service is returning the date in this format:

2018-01-18T18:22:52:877-0500


The expected mask is:  "yyyy-MM-dd'T'HH:mm:ss0683p000009M9p6.pngSSXXX" but this is failing when used with TalendDate.isDate() and To_Date.  What am I missing here?

 

Note: I do think the colon between the seconds and fractional seconds should really be a period, but they're sending a colon there. Hacking the input to a period still fails.  The Format Tester site produced correct outputs for this mask, but the parser fails.

Anonymous
Not applicable
Author

What do you make of this sample date format I'm getting from Workfront API.


2018-01-18T18:57:22:123-0500

 

The mask I tried was:  yyyy-MM-dd'T'HH:mm:ss0683p000009M9p6.pngSSXXX

 

I do suspect the colon between the ss0683p000009M9p6.pngSS should probably be a period, but this is what they're sending.