Skip to content

haiigas/date-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

How to use

  • Save the tanggal_helper.php file in the application/helpers folder.
  • Call tanggal_helper.php in the autoload.php. Find the script and change it as below.
$autoload['helper'] = array('tanggal');
  • Now call the format_indo function in the helper into the view. as an example:
<?php echo format_indo(date('Y-m-d H:i:s'));?>

Then the output is generated like this:

22 Agustus 2020 22:36:00

Full article can be read here.

About

📆 Indonesian Date Format

Topics

Resources

Stars

Watchers

Forks

Languages