This user has been denied support.
I'm working on a plugin where I want to output certain characteristic/data from the first of last month to first of the current month.I saw php's date function:
http://ie2.php.net/manual/en/function.date.php
$tomorrow = mktime(0, 0, 0, date("m") , date("d")+1, date("Y"));
$lastmonth = mktime(0, 0, 0, date("m")-1, date("d"), date("Y"));
$nextyear = mktime(0, 0, 0, date("m"), date("d"), date("Y")+1);
That's fine, but say how would I query the date condition?
For example, let's say, I want to output certain's user post made during the last month, then how would I query $lastmonth function to output the data likewise?
Thank you.