lildog Posted January 17, 2007 Share Posted January 17, 2007 Hello, I am working on a contrib to notify me when contribs I have installed get updates here at osc site. I am doing this via the contribution feed. I have the first version just about ready, but have run into a frustrating problem I hope someone here can solve. I need to compare the pubDate of the contrib (ie. Tue, 16 Jan 2007 05:05:12 -0500) and compare it with that of a date entered in my admin. I have resolved to use timestamps via the strtotime() function but I am afraid my timestamps are not accurate due to time zones. So how do I convert a date entered in admin to a timestamp that matches the timestamp of the pubdate in the contrib rss? or vice versa. Thanx lildog Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.