Hi
I am trying to get the first day of a given month and the last day. I use mktime function like so:
mktime(0,0,0,7,1,2007);
and got the time stamp: 1183212000 when I converted it I got:
Sat, 30 Jun 2007 14:00:00 GMT which is not what I want, I wanted 1 July.
when I used the date function with mktime like this:
date("M-d-Y", mktime(0,0,0,7,1,2007));
I get a correct value, what am I doing wrong?