Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Time Format


From   Robert A Yaffee <bob.yaffee@nyu.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Time Format
Date   Thu, 05 May 2005 12:20:07 -0400

The time format is another issue, but you might be able to 
subtring out the date format and convert it with the
strdate procedure.

Assuming that ddate is in the format 03/12/1988,

strdate ddate, s("mdy") y(1999) f(%dmdy)

would return the date in a date format.



2100 Linwood Avenue
Apt 19-W
Fort Lee, NJ
07024-3171
Phone: 201-242-3824
Fax: 201-242-3825
yaffee@nyu.edu

----- Original Message -----
From: kelly johnson <econometrics@hotmail.com>
Date: Thursday, May 5, 2005 9:51 am
Subject: st: Time Format

> Hi,
> 
> Specifically, can I use the mm/dd/yy hh:mm format? (e.g. 04/04/04 
> 09:15
> 04/04/04 09:15
> 04/04/04 09:16
> .
> .
> .
> 04/30/05 12:00
> 
> any help would be appreciated!
> 
> kelly
> 
> _________________________________________________________________
> Don’t just search. Find. Check out the new MSN Search! 
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
> 
> *
> *   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/
> 

*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index