This has come up on the list a few times in the past.
There was a brief discussion perhaps two or three
weeks ago (the thread was initiated by Eric Wruck)
which should be easy to find in the List archive.
Best wishes,
Sylvain
--- samani Lamabadusuriya
<[email protected]> wrote:
> Hi all,
> I have a dataset that contains the following 4
> variables; I am trying to
> calculate the elapsed days, hours and mins between
> open and closed times.
> Is there anyway I could convert the date and time
> variable into one date
> variable.
>
> open_date open_time closed_date closed_time
> 22/09/2004 18:25:48 22/09/2004 18:34:55
> 22/09/2004 15:39:13 22/09/2004 16:40:41
> 23/09/2004 12:50:23 23/09/2004 12:53:12
> 23/09/2004 16:30:16 23/09/2004 16:45:24
> 23/09/2004 11:16:31 23/09/2004 11:19:53
>
>
> Many Thanks
> Sam
>
>
>
______________________________________________________________________
> This email has been scanned by the MessageLabs Email
> Security System.
> For more information please visit
> http://www.messagelabs.com/email
>
>
************************************************************************
> The opinions expressed in this email represent those
> of the individual and not necessarily those of
> Alliance UniChem plc. The contents of the email may
> be privileged and confidential. If received in error
> please advise the sender then delete from your
> system. If you are not the intended recipient you
> should not copy it or use it for any purpose, nor
> disclose its contents to any person.
> Alliance UniChem plc cannot accept liability for any
> damage you incur as a result of virus infection.
>
************************************************************************
>
>
>
______________________________________________________________________
> *
> * For searches and help try:
> *
> http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/