Hello,
I have Stata 8, and I'm trying to generate a new variable which indicates
the elapsed time (in minutes or seconds) between two events. The variables
I want to substract are stored as str24, and contain both date and time in
the same cell
:
03/07/06 17:15:00, 000000
03/07/06 18:05:00, 000000
I would like to generate a numerical variable which indicates that the
elapsed time between the two events is 50 minutes. How is this possible?
I really appreciate your help,
M
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/