PHPackages                             satyakresna/masehi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. satyakresna/masehi

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

satyakresna/masehi
==================

Convert date to Indonesia language, convert time based on timezone and validate date and time

v0.12.1(7y ago)5235MITPHPPHP &gt;=5.3.0

Since Dec 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/satyakresna/masehi-php)[ Packagist](https://packagist.org/packages/satyakresna/masehi)[ Docs](https://github.com/satyakresna/masehi-php)[ RSS](/packages/satyakresna-masehi/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)DependenciesVersions (7)Used By (0)

Masehi PHP
==========

[](#masehi-php)

[![Latest Stable Version](https://camo.githubusercontent.com/a61249245c72e4bf2c64af1e9f3f3d5085e331a16b15f080cddc9b93bf70a2e8/68747470733a2f2f706f7365722e707567782e6f72672f73617479616b7265736e612f6d61736568692f762f737461626c65)](https://packagist.org/packages/satyakresna/masehi)[![Total Downloads](https://camo.githubusercontent.com/9c9290aaf697423b11b372fcbe640a7176779f4ad1e61df1ebc4608458f82796/68747470733a2f2f706f7365722e707567782e6f72672f73617479616b7265736e612f6d61736568692f646f776e6c6f616473)](https://packagist.org/packages/satyakresna/masehi)[![Latest Unstable Version](https://camo.githubusercontent.com/8877c23810fc662d3c2661e8cd7a9b26f9c93168d0f9aa649f870d9385013d9d/68747470733a2f2f706f7365722e707567782e6f72672f73617479616b7265736e612f6d61736568692f762f756e737461626c65)](https://packagist.org/packages/satyakresna/masehi)[![License](https://camo.githubusercontent.com/97707ea930d4087746bdabb5ae2d81ce2124e2e073952a05fecd6eced8f05fe6/68747470733a2f2f706f7365722e707567782e6f72672f73617479616b7265736e612f6d61736568692f6c6963656e7365)](https://packagist.org/packages/satyakresna/masehi)

A library for convert date to Indonesia language, convert time based on timezone and validate date and time

Installation
------------

[](#installation)

Download [composer.phar](http://getcomposer.org/composer.phar) if you don't have one. Then run it from terminal.

```
php composer.phar require "satyakresna/masehi: *"
```

Or, you can put into your `composer.json` file.

```
"require": {
  "satyakresna/masehi": "*"
}
```

Then run composer update

```
php composer.phar update
```

Or, the **simple way** is go to your root project via terminal or cmd and run this command

```
composer require satyakresna/masehi

```

Usage
-----

[](#usage)

By default this library will convert date to Indonesia date automatically. If you wish to deny, simply, just set param `"is_local"` to false.

```
