Statalist


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

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


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: how to delete the colons in the time
Date   Thu, 11 Feb 2010 13:43:04 +0100

<> 



*************
di subinstr(c(current_time),":"," ",.)
*************



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/



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