PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq  >  PHP Format Date and Byte Count  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Format Date and Byte Count
Display timestamps and bytes in a readable form
Author: By
Last change:
Date: 7 months ago
Size: 140 bytes
 

Contents

Class file image Download
<?php

require_once 'class/Formats.php';

/* Opcache */
$formats = new Formats();

//Usage example
echo $formats->friendlyTime(1541151468);