This would be done using DateTime (which incidently is a .Net data type, not
just for C#).
DateTime snappedDate = DateTime.Now;
string snappedString = snappedDate.ToString ( "dd MMM yyyy HH:mm:ss" );
DateTime specificDate = DateTime.Parse("12 Jun 2004 13:23:32");
"L" <la********@investors.com> wrote in message
news:11*********************@l41g2000cwc.googlegro ups.com...
Hi,
In C++ the code below sets CurrentMainFrameTime to 1111635540
intMFMonth = 3;
intMFDay = 23;
intMFHour = 19;
intMFMin = 39;
CTime
CurrentMainFrameTime(CTime::GetCurrentTime().GetYe ar(),intMFMonth,intMFDay,intMFHour,intMFMin,0);
How can I achieve the same in C#.
Thanks,
Lalasa.