<?php require_once('./Vpdatedifference.class.php'); $x='1970-01-01'; $y='2038-01-19'; echo getddiff($x,$y); $y='10000-12-31'; echo'<br>'. getddiff($x,$y); ?>
info at phpclasses dot org