Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# try parse date yyyymmdd

Date output;
if(!DateTime.TryParseExact(input,"yyyy/MM/dd", CultureInfo.InvariantCulture, DateTimeStyles.None, out output))  
{
     // Uh oh again...
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #parse #date #yyyymmdd
ADD COMMENT
Topic
Name
3+4 =