PHP code example of korytoff / timehelper

1. Go to this page and download the library: Download korytoff/timehelper library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

korytoff / timehelper example snippets



  


  echo TimeHelper::create('2014-11-07 22:12:00')->today(); // Сегодня, Завтра, Вчера или 14 сентября 2015 г.
bash
$ php composer.phar update