Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

carbon two day ago

$dt  =Carbon::now();

echo $dt->subDay();                      // 2012-03-03 00:00:00
echo $dt->subDays(29); 
 
PREVIOUS NEXT
Tagged: #carbon #day
ADD COMMENT
Topic
Name
7+8 =