Hello,
Could anyone help me with this problem?
I've converted the date and stata adds or subtract a few minutes like below:
For example, the string variable is "2021-07-16 10:00", the converted one is "2021-07-16 9:58"
The command I used are these
generate hour3 = clock(hour2,"YMDhm")
format %tcCCYY-NN-DD_hh:MM hour3
please help me.
Could anyone help me with this problem?
I've converted the date and stata adds or subtract a few minutes like below:
For example, the string variable is "2021-07-16 10:00", the converted one is "2021-07-16 9:58"
The command I used are these
generate hour3 = clock(hour2,"YMDhm")
format %tcCCYY-NN-DD_hh:MM hour3
please help me.
Comment