Result: '.$Unit->thisYear().'-'.$Unit->thisMonth().'-'.$Unit->thisDay(). ' '.$Unit->thisHour().':'.$Unit->thisMinute().':'.$Unit->thisSecond(); if ($Unit->isValid()) { echo ' is valid!

'; } else { $V= & $Unit->getValidator(); echo ' is invalid:

'; while ($error = $V->fetch()) { echo $error->toString() .'
'; } } ?>

Enter a date / time to validate:

Year:
Month:
Day:
Hour:
Minute:
Second:

Note: Error messages can be controlled with the constants CALENDAR_VALUE_TOOSMALL and CALENDAR_VALUE_TOOLARGE - see Calendar_Validator.php

Took: '.(getmicrotime()-$start).' seconds

'; ?>