Select and Update

isValid() ) { $V= & $Second->getValidator(); echo ('

Validation failed:

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

Validation success.

' ); echo ( '

New timestamp is: '.$Second->getTimeStamp().' which could be used to update a database, for example'); } } else { $Year = new Calendar_Year($_POST['y']); $Month = new Calendar_Month($_POST['y'],$_POST['m']); $Day = new Calendar_Day($_POST['y'],$_POST['m'],$_POST['d']); $Hour = new Calendar_Hour($_POST['y'],$_POST['m'],$_POST['d'],$_POST['h']); $Minute = new Calendar_Minute($_POST['y'],$_POST['m'],$_POST['d'],$_POST['h'],$_POST['i']); $Second = new Calendar_Second($_POST['y'],$_POST['m'],$_POST['d'],$_POST['h'],$_POST['i'],$_POST['s']); ?>

Set the alarm clock

Year:   Month:  Day:  Hour:  Minute:  Second: 
Took: '.(getmicrotime()-$start).' seconds

' ); ?>