Re: How to convert RSS dates to second since epoch?
On Mar 29, 7:41 am, Duke of Hazard <squ...@peoriadesignweb.com> wrote:
> Any suggestions apart from brute force to convert a date like this:
>
> 2008-03-23T20:58:50-04:00
>
> to seconds since 1970 ?
Should work with strtotime(). I have a feed parser for both RSS and
ATOM and it successfully converts the dates using strtotime().
|