validateDate

Check that the date has valid values for days, months, and years.

bool
validateDate
(
uint day
,
uint month
,
uint year
)

Parameters

day uint

the day of the month to check

month uint

the month of the year to check

year uint

the year to check

Return Value

Type: bool

true if the date is valid

Meta