Calculate php major date

0

I am making a script in which I show some dates that I have in an array, starting from another given date, I have to show only the dates greater than or equal to the given date

What php functions can I use for the script?

Thank you!

    
asked by 24.06.2016 в 12:44
source

1 answer

0

You can use something like strtotime that returns timestamp (number of seconds since 1970/1/1 up now) and then it would be simply checking that the whole returned is greater than or equal to the one you have saved.

    
answered by 24.06.2016 / 12:49
source