I need to extract the date from a description which is displayed on an RSS Feed (Workopolis)
Here's an example of a feed item:
<item>
<guid isPermaLink="true">http://www.workopolis.com/jobsearch/job/15161566?uc=?RSS=Y</guid>
<link>http://www.workopolis.com/jobsearch/job/15161566?uc=?RSS=Y</link>
<title>Financial Services Representative</title>
<description><strong>Location:</strong> Barrie, Ontario; Owen Sound, Ontario; Port Elgin, Ontario<br><strong>Job Category:</strong> Sales and Business Development <br><strong>Job Industry:</strong> Financial Services and Banking<br><strong>Career Level:</strong> <br><strong>Position Type:</strong> Full Time<br><strong>Date Posted:</strong> 06/19/2014<br><strong>Company Name:</strong> CIBC<br><strong>Company URL:</strong> <a href="http:// ">http:// </a></description>
</item>
I've been doing research for about.. 2 hours now. I'm not strong on my more advanced PHP coding, so I could really use some help. The date is in DD/MM/YY inside of .
I guess my question is: How do I extract the date in DD/MM/YYYY and turn it into a $date variable?
Thanks!