[resolved] Date formatting problem XML --> Oracle

One Star

[resolved] Date formatting problem XML --> Oracle

I am trying to convert XML into Oracle. The date formats are not coming out correctly and I can't figure out what I have wrong. It has every date converting to Jan. Attached are screen prints to show the input and the output, debug and tMap
Seven Stars

Re: [resolved] Date formatting problem XML --> Oracle

It's because you've defined the Date Patterns in tFileInputXML as "yyyy-mm-dd-hh:mm" when they should be "yyyy-MM-dd-hh:mm". mm is minutes, MM is months.
You should also check your hours setting: hh is 12-hour time (01-12), HH is 00-23.
One Star

Re: [resolved] Date formatting problem XML --> Oracle

Thanks! I'm still getting used to Talend and missed the date formatting error.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog