Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# format string to date yyyymmdd

DateTime dt = DateTime.ParseExact(dateString, "ddMMyyyy", 
                                  CultureInfo.InvariantCulture);
dt.ToString("yyyyMMdd");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #format #string #date #yyyymmdd
ADD COMMENT
Topic
Name
6+8 =