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

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

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

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch