How to compare two dates values

Hi all , I am comparing two values like I have a date example startDate=15/6/22 and EndDate=1/7/22 I am checking 15/6/22 < 1/7/22 if its true then it should moved to true condition and do the rest thing but it always moving towards false side don’t know why.    
0 answers