Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Regullar date format for php

 use DateTime;
 
 
 
 $dt = new DateTime('now', new DateTimeZone('Asia/Dhaka'));
$date = $dt->format('Y-m-d H:i');
 
PREVIOUS NEXT
Tagged: #Regullar #date #format #php
ADD COMMENT
Topic
Name
7+1 =