cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
King
Advocate III
Advocate III

reorder a date

I have a string type field that saves a date with the following format

1/2/2020 13:00

I need the follow format

2020/2/1 13:00

since I need to have the ISO 8601 format

1 ACCEPTED SOLUTION

Accepted Solutions
ScottShearer
Super User III
Super User III

@King 

Try the following date format string:

yyyy/M/d HH:mm

formatDateTime(utcNow(),'yyyy/M/d HH:mm')

DateFormat1.jpgDateFormat2.jpg

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

1 REPLY 1
ScottShearer
Super User III
Super User III

@King 

Try the following date format string:

yyyy/M/d HH:mm

formatDateTime(utcNow(),'yyyy/M/d HH:mm')

DateFormat1.jpgDateFormat2.jpg

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (828)