parsing - get the format of a string date in c# -
i have string date 'wednesday, may 15, 2013' when parse o lost original format, there way know original format date or before final parse?
no, you'll lose original format, if different object type no care original format prior parsing.
your best option store pre-parse format prior parsing different variable.
however if wish format date in original format, see farhad's answer.
Comments
Post a Comment