Hello,
Something like that:
DateTime mydate = new DateTime(2014, 07, 28); string lastTwoDigitsOfYear = mydate .ToString("yy");
Regards
Cedric
No comments:
Post a Comment