Location: PHPKode > scripts > Bangla Date > tareq1988-bangla-date-f9fd61a/example.banglaDate.php
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<?php
include_once 'class.banglaDate.php';
$bn = new BanglaDate(time());
print_r($bn->get_date());

echo '<br>';
$bn->set_time(time(), 0);
print_r($bn->get_date());

echo '<br>';
$bn->set_time(strtotime('18-03-1988'), 0);
print_r($bn->get_date());

echo '<br>';
$bn->set_time(strtotime('18-03-1988'), 6);
print_r($bn->get_date());
Return current item: Bangla Date