Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

count remaining days php

$future = strtotime('25 July 2021');
$now = time();
$timeleft = $future-$now;
$daysleft = round((($timeleft/24)/60)/60);
 
PREVIOUS NEXT
Tagged: #count #remaining #days #php
ADD COMMENT
Topic
Name
6+8 =