Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: AW: how to delete the colons in the time


From   "G. Dai" <dgecon@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: how to delete the colons in the time
Date   Thu, 11 Feb 2010 11:33:33 -0800

thanks, Martin ;-)  G.

On Thu, Feb 11, 2010 at 5:00 AM, Martin Weiss <martin.weiss1@gmx.de> wrote:

>
> <>
>
> Alternatively:
>
>
> *************
> di %tcHH_MM_SS clock(c(current_time),"hms")
> *************
>
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von G. Dai
> Gesendet: Donnerstag, 11. Februar 2010 01:26
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: how to delete the colons in the time
>
> hi everyone, I want to know to show the c(current_time) without the
> colons,eg
>
> . di c(current_time)
> 16:21:41
>
> how to let it show the time without the colons,like 16 21 41?
>
> thanks,
> Guang
>
> *
> *   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/
>
>
> *
> *   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/
>

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



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