Skip to main content
Announcements
The way to achieve your own success is the willingness to help somebody else. Go for it!
cancel
Showing results for 
Search instead for 
Did you mean: 
Aryasmank
Contributor III
Contributor III

Applying timestamp format to all date field

Hi All,

while loading the data from the SharePoint list , the date fields are in the  ' 2022-11-17T18:50:00Z ' format.

there are  12 date fields in the list. Is there any way to convert them all at one to "DD-MM-YYYY  hh:mm:ss" format.

I have tried to provide timestamp format at main  in the load script but it's not working. 

Please suggest any solution to that.

 

Aryasmank_0-1670926087593.png

Thanks,

Mayank

Labels (2)
2 Replies
BrunPierre
Master
Master

One way is as follows

Timestamp(Timestamp#(DateField,'DD-MM-YYYYThh:mm:ssZ'),'DD-MM-YYYY hh:mm:ss')
Aryasmank
Contributor III
Contributor III
Author

Hi @BrunPierre ,

Thanks for your suggestion, from the above expression, I have to do this for every Datefield.

My requirement is that, is there any way to convert these all DateFields in a single expression?