PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq   PHP Convert and Time Difference   README.md   Download  
File: README.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliart data
Class: PHP Convert and Time Difference
Spell the time difference between now and one day
Author: By
Last change: update
fix indent
adding more feaute
Date: 6 years ago
Size: 453 bytes
 

Contents

Class file image Download

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.