PHP date difference extremly hard to accomplish -
i have dates subtracting days current date , time.
let suppose current date may 1, 2011
after subtracting 30 days
april 1, 2011
how accomplish in php? please help
$unixtime = strtotime("may 1, 2011 -30 days"); $human_readable = date('f j, y', $unixtime);
Comments
Post a Comment