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" <[email protected]>
To   [email protected]
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 <[email protected]> wrote:

>
> <>
>
> Alternatively:
>
>
> *************
> di %tcHH_MM_SS clock(c(current_time),"hms")
> *************
>
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]] Im Auftrag von G. Dai
> Gesendet: Donnerstag, 11. Februar 2010 01:26
> An: [email protected]
> 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index