Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
markus19-85
Partner - Contributor III
Partner - Contributor III

convert timestamp string from csv to date field

Hi all,

I would like to convert the field TreatyPeriodStartDate from my csv into a date field, but this is not working.

could you please help?

 

Thanks & Regards,

Markus

1 Solution

Accepted Solutions
MarkWillems
Contributor III
Contributor III

You can use Date# to interpret the date and Date to format it.

 

Date(Date#(TreatyPeriodStartDate,'DD.MM.YYYY hh:mm'),'DD/MM/YYYY') as Date,

Hey, Please don't forget to add kudos, like or mark as a solution if my reply has helped you at all! 🙂

View solution in original post

2 Replies
Claudiu_Anghelescu
Specialist
Specialist

Date(left(TreatyPeriodStartDate,10),'YYYY-MM-DD') as Date_field

 

 

To help community find solutions, please don't forget to mark as correct.
MarkWillems
Contributor III
Contributor III

You can use Date# to interpret the date and Date to format it.

 

Date(Date#(TreatyPeriodStartDate,'DD.MM.YYYY hh:mm'),'DD/MM/YYYY') as Date,

Hey, Please don't forget to add kudos, like or mark as a solution if my reply has helped you at all! 🙂