I want to fetch news from a few authors...
in order not to confuse them or ask them to post them on one more place, i will ftetch them from theirs blog's feeds.
most use wordpress, some even blogspot...
the "published" date comes in this format:
Wed, 09 Aug 2006 06:58:21 +0000
does anybody has a parser for unixtimestamp or timestamp?... magpie and lastss dont have
thx
does anybody has a parser for this DATE format?
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Code: Select all
$date = date('m/d/Y', strtotime($fetched_date_from_wordpress));works like a charm... amazing.Everah wrote:Code: Select all
$date = date('m/d/Y', strtotime($fetched_date_from_wordpress));