Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# compare dateTime with string

if ( DateTime.Parse(date2,CultureInfo.InvariantCulture) <=  DateTime.Parse(date1,CultureInfo.InvariantCulture))

{
  // perform some code here
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #compare #dateTime #string
ADD COMMENT
Topic
Name
1+2 =