PHP Classes

PHP Convert and Time Difference: Spell the time difference between now and one day

Recommend this page to a friend!
     
  Info   Demos   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 147 All time: 9,125 This week: 206Up
Version License PHP version Categories
php-time-class 1.0The PHP License5.4PHP 5
Description 

Author

This class can spell the time difference between now and one day, weeks or years.

It takes the date of one day and computes the number of seconds between that day and now.

The class returns one string that spells the difference of time between the dates.

Picture of Muhammad Umer Farooq
Name: Muhammad Umer Farooq <contact>
Classes: 52 packages by
Country: Pakistan Pakistan
Innovation award
Innovation award
Nominee: 6x

Details

PHP-time-class

Feature

- convert timestamp in human readable form - calculate executiuon time of php script - normal date and time - Calculate users age e,g 15 year old

Description

This class can spell the time difference between now and one day, weeks or years. It takes the date of one day and computes the number of seconds between that day and now. The class returns one string that spells the difference of time between the dates.


  time classExternal page  

Open in a separate window

  Files folder image Files (6)  
File Role Description
Files folder imageclasses (1 file)
Files folder imagelib (1 file)
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file init.php Aux. Auxiliary script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Data Auxiliart data

  Files folder image Files (6)  /  classes  
File Role Description
  Plain text file Time.php Class Class source

  Files folder image Files (6)  /  lib  
File Role Description
  Accessible without login Plain text file time.php Example Example script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:147
This week:0
All time:9,125
This week:206Up