cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to change date format

SOLVED
Kartik21
Asteroid

Unable to change date format

I am unable to change the date format from 03/15/2024 (V_WString type) to 2024-03-15. I am using the formula as DateTimeFormat([Transaction Date1], "%d/%m/%Y"). The output column is coming as Null.

 

I even tried to use the date time tool, but it is not giving all the values in the required format. It is missing some values in between.
Also, I tried to change the filed type to Date but it is also not helpful.

Please suggest solutions for this.

Attachment
Download this attachment
3 REPLIES 3
Kartik21
Asteroid

Unable to change date format

I am unable to change the date format from 03/15/2024 (V_WString type) to 2024-03-15. I am using the formula as DateTimeFormat([Transaction Date1], "%d/%m/%Y"). The output column is coming as Null.

 

I even tried to use the date time tool, but it is not giving all the values in the required format. It is missing some values in between.
Also, I tried to change the filed type to Date but it is also not helpful.

Please suggest solutions for this.

Attachment
Download this attachment
Highlighted
binu_acs
Polaris

Re: Unable to change date format

@Kartik21 use DateTimeParse([Field],'%m/%d/%Y') and change the DataType to Date

ShankerV
Castor

Re: Unable to change date format

Hi @Kartik21  Please use datetimeparse() function.

 

Screenshot 2024-10-22 164416.png

Kartik21
Asteroid

Re: Unable to change date format

Thanks @binu_acs & @ShankerV . It is working fine now.