<?xml version="1.0" encoding="windows-1252"?>
<node id="677833" title="Weird date format behavior with WWW::Mechanize" created="2008-04-01 16:52:29" updated="2008-04-01 12:52:29">
<type id="115">
perlquestion</type>
<author id="643766">
whakka</author>
<data>
<field name="doctext">
I'm parsing multiple web pages that have dates in the text that look like this: "11/17/2006." They look like this in a browser and in the source.&lt;p&gt;However, when I get the page with a WWW::Mechanize bot and dump its contents, the date changes to: "Fri Nov 17 00:00:00 EST 2006."&lt;p&gt;This is confusing the heck out of me, does anyone know what's going on? If not, what's the best way to turn it back into its original format?&lt;p&gt;Many thanks.&lt;p&gt;&lt;em&gt;Update:&lt;/em&gt; code added in comments.</field>
</data>
</node>
