Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ahmedsajidh/dhivehi_date

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dhivehi-date

GitHub GitHub

Get date in dhivehi human readable format

Installation

composer require sajidh/dhivehi-date

Usage

if more than 24h human readable format will automatically change to YY/MM/DD

use Sajidh\Dhivehidate\Dhivehidate;

$date = new Dhivehidate();

echo "<div style='direction: rtl; font-family: Faruma;'>"..$date->dhivehidate("2020-10-24T18:36:16.000000Z")."\n </div>";

echo "<div style='direction: rtl; font-family: Faruma;'>"..$date->datenow()."\n </div>";

Sample

alt text

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages