PHP Classes
elePHPant
Icontem

Id Date Formatter: Format dates for Bahasa Indonesia

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-11-07 (11 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 38 All time: 9,346 This week: 328Up
Version License PHP version Categories
id-date-formatter 1.0The PHP License5Localization, PHP 5, Time and Date
Description Author
This package is specific mainly for applications used in Indonesia Indonesia .

This package can format dates for Bahasa Indonesia.

It can take a given date or use the current date and returns the data formatted for the Indonesian language.

The format of the dates to be returned is configurable.

Innovation Award
PHP Programming Innovation award nominee
December 2017
Number 8
Bahasa is known as the Indonesian language. It has its own formatting rules for text and other types of values.

This class can format date in Bahasa in a configurable way.

Manuel Lemos
  Performance   Level  
Name: Nanang F. Rozi <contact>
Classes: 1 package by
Country: Indonesia Indonesia
Age: 30
All time rank: 424481 in Indonesia Indonesia
Week rank: 799 Up13 in Indonesia Indonesia Up
Innovation award
Innovation award
Nominee: 1x

Details

id-date-formatter

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.

Usage

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

  Files folder image Files  
File Role Description
Files folder imagesrc (1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageFrosyaLabs (1 directory)

  Files folder image Files  /  src  /  FrosyaLabs  
File Role Description
Files folder imageLang (1 file)

  Files folder image Files  /  src  /  FrosyaLabs  /  Lang  
File Role Description
  Plain text file IdDateFormatter.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:38
This week:0
All time:9,346
This week:328Up