Skip to content Skip to sidebar Skip to footer

How To Compare Date From Timepicker With The Current Time

I use timepicker() to get both of the day and the time. Now I want to know if that moment(date+time) is already passed or not. You should know that I am passing these values to my

Solution 1:

The simplest way is, to convert the date and time into milliseconds and then comepare these on server side.


Solution 2:


Post a Comment for "How To Compare Date From Timepicker With The Current Time"