How to convert a special date

Four Stars

How to convert a special date

hi 

could you please help me on date conversion Fri Feb 24 00:00:00 IST 2017 to dd-MM-yyyy format

 

Community Manager

Re: How to convert a special date

This will do it for you......

 

routines.TalendDate.formatDate("dd-MM-yyyy", routines.TalendDate.parseDate("E MMM dd HH:mm:ss Z yyyy", "Fri Feb 24 00:00:00 IST 2017"))

Highlighted
Four Stars

Re: How to convert a special date

Hey thank you shall

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

Self-service Talend Migration: Moving from On-Premises to the Cloud

Move from On-Premises to the Cloud by following the advice of experts

Read Now

Modern Data Engineering in the Cloud

Learn about modern data engineering in the Cloud

Watch Now

How to deploy Talend Jobs as Docker images to Amazon, Azure and Google Cloud reg...

Learn how to deploy Talend Jobs as Docker images to Amazon, Azure and Google Cloud registries

Blog