PDA

Click to See Complete Forum and Search --> : DateTime ??


bob323
Sep 2nd, 2002, 09:45 PM
How do I get the current date? I need to have DDMMYY in a string. I read over the docs but I don't see it in here...
Any ideas?

hellswraith
Sep 2nd, 2002, 11:06 PM
Here you go:
mystring = System.DateTime.Now.ToString("ddmmyy")

bob323
Sep 2nd, 2002, 11:33 PM
perfect! system.. shoot I didn't think to look there!