Hi,
I noticed that whenever I import an excel file that contains a time or datetime variable onto Stata (time up to seconds), the values for those variables in Stata appear to be slightly off sometimes (generally by a second). I understand that there is a difference in the way Excel and Stata read dates and times and there might be some rounding issue at play here. I am looking for a way for Stata to read the excel time/datetime variables accurately. I see some similar questions and documentation online that address my question but I am still a little confused. Any help with this would be appreciated. Thank you!
Related Posts with Working with Time and DateTime variables from Excel
Is there a way to format variable?Hello friends, I am currently using data that has one variable that shows the value of the date, fo…
merging data with different time frequenciesHello, I have looked for guidance from other posts but could not solve this: I have two datasets- 'D…
Stata not showing results/command/log window?Hi Everyone, I'm running into a weird issue with Stata - the main results/command/log window is ~in…
Help with clock() functionDear all, I had a time variable in string format. I use clock() function to change it to Stata read…
Twoway subtitle options using -by-How to adjust text options for subtitles in a simple twoway plot using -by- ? Code: sysuse auto, c…
Subscribe to:
Post Comments (Atom)
0 Response to Working with Time and DateTime variables from Excel
Post a Comment