I have got two dates on which legacy license has been generated by a customer
These are the date formats 02-03-2015, 09-08-2015
, so i need to give him a error saying that u have exceeded the license generation count.
because, only two times a customer can generate the license in a year, I am struggling how to compare the two given dates with in the year and whether this belongs to this year (or) not ..
I am using C# for this validation , would any one please suggest nay idea on how to do this ...
Many thanks in advance