PHP Manual
Prev |  | Next

# mcal_date_compare

(3.0.13 - 3.0.18 only, PHP 4 >= 4.0.0)

mcal_date_compare -- Compares two dates

## Description

``int mcal_date_compare` (int a_year, int a_month, int a_day, int b_year, int b_month, int b_day)`

mcal_date_compare() Compares the two given dates, returns <0, 0, >0 if a<b, a==b, a>b respectively.

Prev | Home | Next
mcal_day_of_year | Up | mcal_next_recurrence