Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DateTime.Now.ToString question

Status
Not open for further replies.

xcaliber2222

Programmer
Apr 10, 2008
70
US
Hello,

I am trying to get the output for:
DateTime.Now.ToString("yyMMddHHmmssffff")

The problem is all I get back as display is:
090701133

Can someone please tell me what I need to do? From what I'm seeing on MSDN this "should" work, but it seems I'm only getting back the yyMMdd part(090701) and the HHmm part(133).

If someone could help I'd really appreciate it.

Thanks,
Alejandro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top