Notifications
Announcements
i am seting up an SMS remainder from Outlook calendar, to my customers.
Im converting timezone whitout problem, but the time is showing like this: "12/16/2019 8:00 AM"
i need it to be convertet to: "16/12/2019 08:00"
Can any help?
You can use a custom format string with your converted date time to format it the way you want. Here's an example
formatDateTime(utcNow(),'dd-MM-yyyy H:mm:ss')
Thanks. Can i chanche the "utcnow" to what i hawe in the calendar? i the calendar event is in the futore, this output shows todays date and time.
Yes, you should be able to just substitute the date time string you are generating for the UTCNow(). That was just a quick example to test that it works.
I dont understand what to change "UTCnow" to, in order to format the time.
I did try:
I got the suluton 🙂
In an "Compose" i put this code: "@formatdatetime (body('tf'),'dd-MM-yyyy hh:mm' )"
You can just use the Enter Custom Value in the time string of the Convert timezone action and paste in the custom format string there. That will automatically do the formatting when you convert. Then you won't need an extra compose or FormatDateTime function.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 522 Super User 2025 Season 2
Tomac 364 Moderator
abm abm 243 Most Valuable Professional