Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Question: date format
From
Thomas Bourveau <[email protected]>
To
[email protected]
Subject
st: Question: date format
Date
Thu, 12 Sep 2013 14:39:59 +0200
Dear Statalist members,
I obtained data on the timing of some announcements made by firms. For
each event, I have two different variables: one variable for the date,
and another one for the hours, minutes and seconds of the timing.
However, when I obtained the second variable, it looks like this:
01jan1960 13:57:54
01jan1960 23:17:48
01jan1960 08:32:52
Specifically, for each line, "01jan1960" is written before each hours,
which was not supposed to be.
The variable is in a long format (%tcHH:MM:SS) and I don't know how to
drop the "01jan1960" for each line.
If anyone has a suggestion, that would be nice.
Thanks a in advance
Best,
Thomas
--
Thomas Bourveau
[email protected]
0637573925
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/