Download the PHP package kaythinks/worldtime without Composer
On this page you can find all versions of the php package kaythinks/worldtime. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kaythinks/worldtime
More information about kaythinks/worldtime
Files in kaythinks/worldtime
Download kaythinks/worldtime
More information about kaythinks/worldtime
Files in kaythinks/worldtime
Vendor kaythinks
Package worldtime
Short Description This package helps you get the accurate time of a place
License MIT
Package worldtime
Short Description This package helps you get the accurate time of a place
License MIT
Please rate this library. Is it a good library?
kaythinks/worldtime
Rate from 1 - 5
Rated 5.00 based on 1 reviews
Rated 5.00 based on 1 reviews
Informations about the package worldtime
Kaythinks/Worldtime
This PHP Library helps you get the accurate time for any Global city
There are presently 4 static methods namely;
-
getTime(string $input) --This method returns the time in 12-hour Format
-
getFullTime(string $input) --This method returns the time in 24-hour Format
-
getTimeString(string $input) --This method returns the time as a string in 12-hour Format
- getFullTimeString(string $input) --This method returns the time as a string in 24-hour Format
To install this package follow the steps below
-- Run composer require kaythinks/worldtime
-- Run composer dump-autoload
-- The library can be used this way for example;
<?php
require_once 'vendor/autoload.php';
use Kaythinks\Worldtime\Worldtime;
echo Worldtime::getTime('Lagos');
All versions of worldtime with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.0|^8.0
The package kaythinks/worldtime contains the following files
Loading the files please wait ....