Re: Querry

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Wed, 30 Aug 2006 21:14:41 +0200


See class TDatime:
http://root.cern.ch/root/htmldoc/TDatime.html

eg:
TDatime t;
 t.AsString()

Rene Brun

Satya J wrote:
> Hi,
>
> kindly suggest me how I can convert current date and time into
> a string variable in root. I need this string in different format like
>
> current time; 11:51pm 30th Aug'06
> I want 2006/08/30/23/51 or 2006:08:30:23:51
> & 200608302351
> into a char string. Can it possible?
>
> Your suggestion are highly apreciated.
> Satya
Received on Wed Aug 30 2006 - 21:14:44 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET