PHP code example of ezadev / tgl_indo

1. Go to this page and download the library: Download ezadev/tgl_indo library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ezadev / tgl_indo example snippets


use Ezadev\Tanggal\TanggalIndo;

$tgl = date('Y-m-d');

echo TanggalIndo::HariTanggalBulanTahun($tgl)."\n"; // Jumat, 12 Juli 2019
echo TanggalIndo::TanggalBulanTahun($tgl)."\n"; // 12 Juli 2019
echo TanggalIndo::BulanTahun($tgl)."\n"; // Juli 2019