Convert datetime to number or text

Hi,
I have been looking and I couldnยดt find anything related.

I need to create uniques delivery numbers and I would like to get them from a Date Time column. E.g if I have a datetime value such as 17/09/2021 13:40:18 in column [Date] iยดd like to convert to number 17092021134018 in column [Albaran]. Is this possible?.

Thank you.

Solved Solved
0 3 1,371
1 ACCEPTED SOLUTION

Plese try TEXT() functions.

Something like
NUMBER(TEXT([Date] , โ€œDDMMYYYYHHMMSSโ€) )

will give you the output in the desired format

View solution in original post

3 REPLIES 3

Plese try TEXT() functions.

Something like
NUMBER(TEXT([Date] , โ€œDDMMYYYYHHMMSSโ€) )

will give you the output in the desired format

Thank you!

text([Date],โ€œDMYhmsโ€)

Thanks a lot. I was searching for this

Top Labels in this Space