GPWiki.org
GPWiki.org
It is currently Fri May 24, 2013 4:12 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Sep 22, 2011 4:06 am 
Ankle Nibbler
User avatar

Joined: Tue Dec 20, 2005 12:28 am
Posts: 140
How do I get a dattime format in C# that will look like this:

2011-09-01 00:00:00:000


Top
 Profile  
 
PostPosted: Thu Sep 22, 2011 7:55 am 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 6717
Location: Oxford, Englandshire
http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx

Code:
DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss:fff")

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group