format a string as date without parsing c# code example Example: c# string to datetime .Net str to DateTime