I have following 2 time stamps,
Wed, 24 Feb 2016 09:02:12
Tue, 23 Feb 2016 09:01:59
how to compare them,
I am aware about we have inbuilt method for comparing date but do we have something for the given scenario.
Edit: Here i thought to compare the time first for example 09:02:12 and 09:01:59, which i can achieve by calculating hour , minutes and seconds into a single unit and can check which one is greater , but this will work fine if the date is same , my logic will not work if the date is different.
I have refereed this question as well
but I am still not sure that this will be helpfull for my scenario.