I am trying to get the first day of a given month and the last day. I use mktime function like so:
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:
I get a correct value, what am I doing wrong?