talend date issue

Seven Stars

talend date issue

dear sir

i have a excel sheet column name test date.

dateQues.JPG

how can i set it into a standard method. am facing problem because it contain string also and integer value 0. 

how can string and integer value 0  replace into null. 

i hope u understand my trouble. Kindly resolve my issue.

Seven Stars

Re: talend date issue

Hi bksing,

 

You can use input_column.replaceAll([a-zA-Z],"") and input_column.replaceAll("0","") functions to remove string and zero value from source.

After that use TalendDate.parseDate("dd-MM-yyyy",input_column) to parse date.

Thanks & Regards
A Ravi Kumar
Mobile Number : +91 852-762-1083
Email-id : a.ravikumar104@gmail.com
Skype Id : ammanannaravikumar

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

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog