Pluf_Date_Compare()
Pluf_Date_Compare( $date1, $date2 = null) : integer
مقایسه دو تاریخ با یکدیگر
Compare two date and returns the number of seconds between the first and the second. If only the date is given without time, the end of the day is used (23:59:59).
Parameters
$date1 | ||
$date2 |
Returns
integer —Number of seconds between the two dates. Negative value if the second date is before the first.