How to add +5:30 hours to existing date format

Four Stars

How to add +5:30 hours to existing date format

Hi Team, 

 

Actually in our DB date format in UTC and we would like to add that to +5:30 hours to that date column (IST);

 

Can you please help me how to add +5:30 hours to date column

 

Regards

Jay

Forteen Stars

Re: How to add +5:30 hours to existing date format

@Jayrapolu,convert UTC to IST and then add the hours using TalendDate.addDate() function. you can also check the below link with different way.

https://stackoverflow.com/questions/35653484/how-can-i-convert-local-time-to-utc-and-vice-versa-in-a...

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog