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

st: dhms time format


From   "Douglas Crawford" <[email protected]>
To   <[email protected]>
Subject   st: dhms time format
Date   Tue, 27 Jul 2004 22:50:22 -0700

Hi,  

The egenmore manual suggests that I can format the result of dhms:

dhms(d h m s) [ ,  format(format)  ]

but the %t formats available do not seem to permit units smaller than a day
(with an emphasis on larger units such as quarter).  Ideally I would like to
display any of the following:
	
	date:hh:mm
	d:hh:mm
	hh:mm
	hh:mm:ss

I don't want to generate a string, just display the results of dhms in an
attractive a manner as the date formats.  The list archive suggests that
this is a wish-list item, but I am hoping I missed something.

Thanks, as always, for your help.

Cheers,
 
Douglas




*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index