PHP Classes

File: testVpdatediff.php

Recommend this page to a friend!
  Classes of zinsou A.A.E.Moïse   Very precise date difference   testVpdatediff.php   Download  
File: testVpdatediff.php
Role: Example script
Content type: text/plain
Description: example script
Class: Very precise date difference
Calculate the days between dates within any years
Author: By
Last change:
Date: 7 years ago
Size: 164 bytes
 

Contents

Class file image Download
<?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);
?>