cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
manookin1991
Level: Powered On

Flow Converting Date to String in Outlook, How to keep as Date?

I am brand new to FLOW and trying to automate a workflow.  Basically someone submits a project number that needs to be exteneded, and based on some criteria I either approve/reject that, and send an email to the requestor.  SO far I have everything working, except I reference the new dates in the email reponse, and they are coming back formatted as a string.

 

 

Example Email (Date/String Highlighted)
2019-08-22 10_57_31-Inbox - Robert.Lau@gartner.com - Outlook.jpg

 

 

Flow 

 

2019-08-22 10_59_29-Edit your flow _ Microsoft Flow.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Flow Converting Date to String in Outlook, How to keep as Date?

Hi @manookin1991 

 

check this thread

https://powerusers.microsoft.com/t5/Building-Flows/Date-problem-flow-from-excel-to-sharepoint/td-p/1...

 

Excel online connector converts date to number (its a limitation)

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

4 REPLIES 4
Dual Super User
Dual Super User

Re: Flow Converting Date to String in Outlook, How to keep as Date?

Hi @manookin1991 

 

check this thread

https://powerusers.microsoft.com/t5/Building-Flows/Date-problem-flow-from-excel-to-sharepoint/td-p/1...

 

Excel online connector converts date to number (its a limitation)

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Community Support Team
Community Support Team

Re: Flow Converting Date to String in Outlook, How to keep as Date?

Hi @manookin1991 ,

 

Please take a try with expression below for the date time from excel online:

addDays('1900-01-01',add(int(datetimefromexcel),-2))

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Sunasara
Level: Power Up

Re: Flow Converting Date to String in Outlook, How to keep as Date?

Go to your excel file and change format from Date to Text.

 

Hope this helps

manookin1991
Level: Powered On

Re: Flow Converting Date to String in Outlook, How to keep as Date?

 I just ended up adding an additional column and using the "Concat" function with Month, date, and Year embeded into the CONCAT function.   Then I linked this new column.  It is sad that I have to work around the date like this, but it worked.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (4,596)