Forum Discussion
Vanessa250919
6 years agoHelper V
Date remove delimiter
Hi community, How to removed the delimiter between this date format 04/11/2020 for have this format 20200411 ? Have a good day and thanks !
- 6 years ago
Which date format did you input ? Also, before this new column... is your column formated as date ?
Get this new code:
Date.ToText([Column1], "yyyyMMdd")
I missed the upper double M.
camargos88
6 years agoCommunity Champion
Vanessa250919
6 years agoHelper V
- camargos886 years agoCommunity Champion
Which date format did you input ? Also, before this new column... is your column formated as date ?
Get this new code:
Date.ToText([Column1], "yyyyMMdd")
I missed the upper double M.
- Vanessa2509196 years agoHelper V
It's OK ! Thank you so much !
- blopez116 years agoSuper User
Expanding on what camargos88 provided, when adding the new column, test for null
if [Date] <> null then Date.ToText ([Date], "yyyymmdd") else "Invalid Date"