cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mike1962
Frequent Visitor

Dates from Excel Online

Hi All.

 

I ma having trouble with dates from Excel into Flow being converted to integer.

 

I simply want to use the matching record's date of birth in the traditional dd/mm/yyyy format but keep getting an integer when listing rows from excel.

 

Can anyone help please?

 

Thanks,

 

Mike.

2 ACCEPTED SOLUTIONS

Accepted Solutions
RobElliott
Super User
Super User

@Mike1962 you need to format it using a formatdateTime expression:

formatDateTime(addDays('1900-01-01', add(int(items('Apply_to_each')?['Date']),-2)), 'dd/MM/yyyy')

where in my example 'Date' is the column in Excel.

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

View solution in original post

v-alzhan-msft
Community Support
Community Support

Hi @Mike1962 ,

 

Please take a try with @RobElliott 's solution and your problem could be quickly solved.

 

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.

View solution in original post

2 REPLIES 2
RobElliott
Super User
Super User

@Mike1962 you need to format it using a formatdateTime expression:

formatDateTime(addDays('1900-01-01', add(int(items('Apply_to_each')?['Date']),-2)), 'dd/MM/yyyy')

where in my example 'Date' is the column in Excel.

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

v-alzhan-msft
Community Support
Community Support

Hi @Mike1962 ,

 

Please take a try with @RobElliott 's solution and your problem could be quickly solved.

 

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.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,711)