web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to covert sharepoi...
Power Automate
Answered

How to covert sharepoint start date and end date to start time datetime time and end datetime for outlook auto reply

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
 

Hi All,

I'm trying to create a flow which is triggered when someone adds a new SharePoint list item through power app.

The idea is to trigger an automatic email to the submitter's manager (which is selected in the form) and to turn on an automatic OOO reply for the submitter. I've successfully triggered the email to the manager, but I'm not sure how set the start time datetime and start time time zone (for Indian Standar time). I am collecting only the leave start date and end date in the SharePoint form. Can I convert this date to the start time datetime required for the automatic reply field?flow screenshotflow screenshot 

 

Thanks in advance for your help.

Categories:
I have the same question (0)
  • Verified answer
    efialttes Profile Picture
    14,756 on at

    Hi!

    Did you already try to assign Sharepoint item outputs (Start date| End date)?

    If the corresponding columns are configured as "Date only" and it does not you can probably add T00.00.00.000000Z at the end of them in order to comply with ISO 8601 

    Not with my laptop, unable to test

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @efialttesthe flow worked for me when I used the function:

    formatDateTime(triggerBody()?['Created'],'yyyy-MM-ddThh:mm:ss.sssssss') as per your suggestion.

     

    Thanks!

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard