I want to get the unix time stamp for that day exactly 30days back from current day. What is the best method?
Can i use this to get the date 30 days back, is this the best method?
$day = date('Y-m-d', strtotime('-30 days'));
a google search brings me to mktime()
function in php. But how do i combine both and get the unix time stamp for the day? What is the easiest and fastest method?