Hi,
i need to convert a date excel value into a date to store it on a SP list
the value i get from Excel is 43831.
I can't change the excel format date in Excel directly because it's a Excel extracted from a application managed by another team.
How can i convert 43831 value to real date like 20/01/2020 ?
Many thanks
@Anonymous Excel stores dates as integers. Assuming you are looping through the excel spreadsheet to get the date, add a compose control and then add the expression:
formatDateTime(addDays('1900-01-01',add(int(items('Apply_to_each')?['Date']),-2)),'yyyy-MM-dd')
where Date is the date column in my excel spreadsheet
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.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional