komicho/formattime

There is no license information available for the latest version (V0.1) of this package.

get country name and code

V0.1 2017-10-28 15:44 UTC

This package is not auto-updated.

Last update: 2024-04-18 16:29:33 UTC


README

Reconfigure the time format

Install via composer

Add orm to composer.json configuration file.

$ composer require komicho/formatTime

And update the composer

$ composer update

code

require 'vendor/autoload.php';

use komicho\formatTime as ktf;

$time = new ktf([
    'lang' => 'ar'
]);

echo $time -> between(1505466647) . '<br/>';

echo $time -> between(1505466647, 1505466721) . '<br/>';

echo $time -> date_time(1505466647);