getdate different than the_time
-
In my blog I use getdate() to limit the front page of my blog to posts from the current day. This worked fine, until this evening. I am in Boston. At the moment, it’s the 19th, but the getdate function is returning a day of 20.
In my settings I currently have my UTC at -5, but I have also tried setting it to New York. Neither set me to the proper day.
As an aside, I also us the_time to display the current day on the blog. That is displaying correctly.
Any thoughts on what I should do?
- The topic ‘getdate different than the_time’ is closed to new replies.