Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

fxcjahid

date_default_timezone_set('asia/Dhaka');

$expire = strtotime("-1 days");
 
if($expire <= time()){
    echo '<br>Expired on '. date('F j, Y, g:i:s A', $expire);
}else{
    echo '<br>Running until '. date('F j, Y, g:i:s A', $expire);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fxcjahid
ADD COMMENT
Topic
Name
5+7 =