Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Didats Triadi  >  JarakTanggal  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example file
Class: JarakTanggal
Calculate the number of days between two dates
Author: By
Last change:
Date: 2005-01-26 23:46
Size: 164 bytes
 

Contents

Class file image Download
<?php
include "jaraktanggal.class.php";
$a = new JarakTanggal;
$b $a->HitungJarakTanggal(date("d/m/Y"),"26/04/2005");
echo 
$b." days to April, 26th 2005";
?>