I've got an Excel spreadsheet with Start and End datetime's. In Excel they are formatted as "9/21/21 2:39PM". In my flow I get the Excel table, list the ros from the table, and notice this time comes out as "44460.6110763889". If I try to use that value in my SQL Server Insert Row step I get an error saying "We cannot convert the value "44460.6110763889" to type DateTime.". At first I thought it's because of the quotes and I changed the value to a float, but I got the same error.
I have figured out how to change this to an integer and use addDays to get the date into SQL Server, however I need the time too.
How do I import the Excel datetime into SQL Server?
Thanks!
Ah, I missed that! Thanks tons for the help!!!
Hey Mate,
I assume you are using List rows present in the table if yes just set the format in the action itself-
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.
WarrenBelz
146,743
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,079
Most Valuable Professional