Need java script to check if datetime is greater than earlier datetime
I am back, this time I need you support on checking if datetime is greater then earlier datetime.
I have a form which has 4 datetime fields A,B,C & D and I want to validate them before I send the values to DB.
I want to check if A's datetime is > B's datetime is > C's datetime is > D's datetime field.
Please help me.