|
-
February 27th, 2008, 12:59 AM
#1
how can i convert DateTime value to string in C++
//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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|