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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (5,237)