<?php
 
require_once('./DatefromInc.class.php');
 
$t=time();
 
echo '<br>Unix timestamp  :'.$t.'<br>';
 
$c=new IncredibleTimestamp(explode('-',date("Y-m-d-H-i-s",$t)));
 
echo '<br> Incredible timestamp for actual date  : '.$i=$c->IncTimestamp ();
 
echo '<br> Incredible timestamp to unix for actual date  : '.$c->IncTimestamptoUnix ().'<br>';
 
 
$f=new datefromIncTimestamp($i);
 
echo'<br>Date and time from Incredible timestamp with christ tag for actual date :'. $f->DatefromInc().'<br>';
 
echo'<br>Date and time from Incredible timestamp without christ tag actual date :'. $f->DatefromInc(false).'<br>';
 
echo'<br> Date from Incredible timestamp without christ tag actual date :'. $f->GetjustDate(false).'<br>';
 
echo'<br> Date from Incredible timestamp with christ tag actual date :'. $f->GetjustDate(true).'<br>';
 
echo'<br>time from Incredible timestamp for actual date  : '. $f->GetjustTime().'<br>';
 
$c=new IncredibleTimestamp(explode('-',"99999-8-31-23-22-30"));
 
echo '<br>Incredible timestamp for 99999-8-31-23-22-30 : '.$j=($c->IncTimestamp ());
 
$f=new datefromIncTimestamp($j);
 
echo'<br>Date and time from Incredible timestamp without christ tag for 99999-8-31-23-22-30 : '. $f->DatefromInc(false).'<br>';
 
echo'<br> Date and time from Incredible timestamp with christ tag for 99999-8-31-23-22-30 : '. $f->DatefromInc().'<br>';
 
 
?>
 
 |