Thanks for your reply.As you have passed one static value and then comparing with the new date.I have just created simple profile script var ndate= new Date();return ndate; In this scenario, it is returning 4 June (i.e Today Date) which is correct as expected.Now, I have changed the System date manu...