Extract Date,Month and Year in Tmap??????

Eight Stars

Extract Date,Month and Year in Tmap??????

Hi,

Can i extract date and month and year from a date ... in Tmap,..

How about dayno and weekno???

if yes,then how..???

Pls help 

thanks in advance.

Ankit


Accepted Solutions
Employee

Re: Extract Date,Month and Year in Tmap??????

Hi,

 

    It is quite easy. You will have to just change the format of the column having date. Please see the screenshots below.

 

image.png

 

The output of the above tmap is as shown below.

image.png

 You can refer all different options of Date from below link.

 

https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html

 

Hope I have answered your query. Could you please mark the topic as resolved? Kudos are also welcome :-)

 

Warm Regards,

 

Nikhil Thampi

 

 


Warm Regards,
Nikhil Thampi
Please appreciate our members by giving Kudos for spending their time for your query. If your query is answered, please mark the topic as resolved :-)
Tags (1)

All Replies
Employee

Re: Extract Date,Month and Year in Tmap??????

Hi,

 

    It is quite easy. You will have to just change the format of the column having date. Please see the screenshots below.

 

image.png

 

The output of the above tmap is as shown below.

image.png

 You can refer all different options of Date from below link.

 

https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html

 

Hope I have answered your query. Could you please mark the topic as resolved? Kudos are also welcome :-)

 

Warm Regards,

 

Nikhil Thampi

 

 


Warm Regards,
Nikhil Thampi
Please appreciate our members by giving Kudos for spending their time for your query. If your query is answered, please mark the topic as resolved :-)
Tags (1)

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.