Forum Discussion
pbjerre
Jan 25, 2022Copper Contributor
Change dataformat from SQL in Excel
Hi. We have a problem converting a time stamp export from SQL 2019. Is there a way to convert it inside Excel (Not in the Database export) to a number. It has the format Year-MM-DD HH:MM:SS,000 like:...
pbjerre
Jan 31, 2022Copper Contributor
pbjerre
Jan 31, 2022Copper Contributor
Here is the sample xls file
- SergeiBaklanJan 31, 2022Diamond Contributor
- pbjerreFeb 01, 2022Copper Contributor
Hm. It does not work when I press enter in the formular?? I dont see a diffence if I chose General or costum format. What could be the reason?
- SergeiBaklanFeb 01, 2022Diamond Contributor
It depends on you regional settings. Thus use =DATE(...) + TIMEVALUE(...) but remove +0 at the end
- HansVogelaarJan 31, 2022MVP
Modified with two possible formulas:
- pbjerreFeb 01, 2022Copper Contributor
- klamaaSep 29, 2022Copper Contributor
Hi HansVogelaar
I don't have separeted value. My SQL has this value Tue Jan 11 2022 00:00:00 GMT+0100 and I am trying to convert it into date but it is not working. Any advice please?
Best,