restricting the date to dd mmm yyyy hh:mm
comparing on String as no need to convert to Date