I am trying to excel some data from a Stata project, to an Excel (.xlsx) file.
I have a time variable in Stata, which is of type float, and had the following format:
%tc_HH:MM:SS.sss
When I export the data to Excel, I get no values for the time.
When I copy paste the values, even though the value in Stata is " 01jan1960 17:01:00 ",
In excel it appears like it is 01:00.0,
but when I click on the cell it appears as 17:01:00
What is going on? Does anyone know how to solve this problem and properly export the time values to Excel? Thanks
I have a time variable in Stata, which is of type float, and had the following format:
%tc_HH:MM:SS.sss
When I export the data to Excel, I get no values for the time.
When I copy paste the values, even though the value in Stata is " 01jan1960 17:01:00 ",
In excel it appears like it is 01:00.0,
but when I click on the cell it appears as 17:01:00
What is going on? Does anyone know how to solve this problem and properly export the time values to Excel? Thanks
Comment