Recommend this page to a friend! |
![]() |
Info | Documentation | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 44 | All time: 10,834 This week: 455![]() |
Version | License | PHP version | Categories | |||
id-date-formatter 1.0.0 | The PHP License | 5 | Localization, PHP 5, Time and Date |
Description | Author | |
This package is specific mainly for applications used in Indonesia
![]() This package can format dates for Bahasa Indonesia. Innovation Award
|
PHP Date Formatter for Bahasa Indonesia. The main usable methods were `
format()`
to format the date and `
now()`
to get the current date. All methods were defined static. So, yo don't need to create the object from `
IdDateFormatter`
class.
Example codes:
use FrosyaLabs\Lang\IdDateFormatter;
$tanggal = '2016-02-17';
// Show current date, format: dd/mm/yyyy
echo IdDateFormatter::now().'<br>';
// Format $tanggal using complete format, ex:
// Rabu, 17 Februari 2016
echo IdDateFormatter::format($tanggal, IdDateFormatter::COMPLETE);
\* For more information, please check the library's PHPDoc
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
![]() |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Related pages |
Installable via Composer |