has already mentioned this. I must have missed that portion of his reply.
This is just a wild guess, but seeing as it is December, make sure $month is zero-based (January is 0, December is 11). timelocal() does out-of-range checking, and will not accept 12 as a month.