Posted By

Elph on 09/10/08


Tagged

DateTime conversion


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

umang_nine


String to datetime with specific Format


 / Published in: C#
 

  1. DateTime myDate = DateTime.ParseExact("28-12-2008", "dd-MM-yyyy", System.Globalization.CultureInfo.InvariantCulture);

Report this snippet  

You need to login to post a comment.