//this is my demo program

using namespace System;
using namespace System::IO;

void main()
{
DateTime dt = Directory::GetLastWriteTime( "C:\\debug.log" );

//char str[] = (char)dt;
string strTemp;
}

i want to convert the dt value to a string,
i tried converting to char array it failed.

pls do help me.

Thanks in Advance