If I do this:
. gen double d=clock("20200101 01:01:01", "YMD hms")
. format %tC d
. browse
then d[1] is "01jan2020 01:00:34"
if I use a float instead then d[1] is "01jan2020 01:01:02"
is it possible to have better precision when using millisecond resolution?
Related Posts with Date precision
option lc() not allowed \ option lcolor() not allowedDear all, Even though I found similar posts online, I still could not manage to fix this. The code …
VAR models on raw or filtered/smoothed data?Dear all, I just started to learn time series analysis and I'm reading Becketti's book at the moment…
Xtabond postestimation - export results to ExcelDear all, I estimate a dynamic panel model using xtabond command. Next I use xtabond postestimation…
Marginsplot with two regression equationsDear Members, I have two regression equations. After each regression, I run margins and marginsplot.…
You can now play Oregon Trail on Statahttps://twitter.com/mcdroste/status/1321482111350677505 If Stata sales triple in the next few days,…
Subscribe to:
Post Comments (Atom)
0 Response to Date precision
Post a Comment