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
Predicted Probabilities using gologit2Hi, I have run a gologit2 command on my dependent variabel comprising of four catergoies with autofi…
Generate new column with specified data based on an existing columnHi, I have dataset with several companies, and their NAICS code. I want to make a new (additional) c…
Serial, overlapping and nested hospital transfersHi Clyde I would like to have data that does not have transfers in it and compute length of stay and…
How to replace long list value by orderHi all. I'm strunggling with replace value. For example, I want to replace "services_rehab_challenge…
Comparing coefficients across two modelsHi all, consider a very simple model with the same outcome and predictor variables, but one run excl…
Subscribe to:
Post Comments (Atom)
0 Response to Date precision
Post a Comment