bhaktaraz / ghantaghar
A simple API extension for Nepali DateTime.
dev-master
2024-06-16 03:24 UTC
Requires
- php: >=5.4
Requires (Dev)
- phpunit/phpunit: 5.2.*
This package is auto-updated.
Last update: 2026-02-16 06:48:43 UTC
README
A simple PHP API extension for Nepali DateTime. http://bhaktaraz.com.np
printf("अहिले को समय :: %s", Ghantaghar::now());
Installation
With Composer
$ composer require bhaktaraz/ghantaghar
{
"require": {
"bhaktaraz/ghantaghar": "dev-master"
}
}
<?php require 'vendor/autoload.php'; use Bhaktaraz\Ghantaghar\Ghantaghar; printf("अहिले को समय :: %s", Ghantaghar::now());### Without Composer
Why are you not using composer? Download Ghantaghar.php from the repo and save the file into your project path somewhere.
<?php require 'path/to/Ghantaghar.php'; use Bhaktaraz\Ghantaghar\Ghantaghar; printf("अहिले को समय :: %s", Ghantaghar::now());