Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Contribution tracker


lildog

Recommended Posts

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

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...