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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to split day month year from a date format

hello,

i have a birth_date column '1962-02-19 00:00:00'  "yyyy-MM-dd" format

i want to split birthday-month-year and load it to three different database table.

 

please help me out

 

Thanks & regards

Manish

Labels (2)
4 Replies
TRF
Champion II
Champion II

TalendDate.getPartOfDate
iamabhishek
Creator III
Creator III

You could use tExtractRegexFields to split your input data into three parts.

Something like this - 

0683p000009Lz3V.jpg

And have your regular expression defined as -

"([0-9]*)-([0-9]*)-([0-9]*)"

and the schema as -

0683p000009Lz3a.jpg

 

Once you have done with your data split then you could have your database output defined accordingly.

manodwhb
Champion II
Champion II

@vitspltalend,please find below tMap configuration,you can implement in this way also.0683p000009LynA.png

manodwhb
Champion II
Champion II

you can convert belo way also.

0683p000009Lyrp.png