Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: ISO 8601 date-time format in Stata 10


From   Joseph Coveney <jcoveney@bigplanet.com>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: ISO 8601 date-time format in Stata 10
Date   Thu, 23 Aug 2007 00:15:27 -0700

Could someone show what the format statement is in order to get the
following date-time format for a double-precision variable containing a timestamp?

2007-08-22T23:54:00

I've read the help file for dates and times, but am unable to use the new syntax correctly.

Joseph Coveney


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