Bangladeshi Today Date With Time in PHP



$day = gmdate("d");
$month = gmdate("m");
$year = gmdate("Y");
$hour = gmdate("H")+6;
$minute = gmdate("i");
$second = gmdate("s");
$today_date=@date("d-m-Y H:i:s", mktime ($hour,$minute,$second,$month,$day,$year));
echo "Today Date:".$today_date;

Advertisements

2 Replies to “Bangladeshi Today Date With Time in PHP”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s