<?xml version="1.0" encoding="windows-1252"?>
<node id="521258" title="Date conversion to epoch w/out mysql.pm" created="2006-01-05 11:33:32" updated="2006-01-05 06:33:32">
<type id="115">
perlquestion</type>
<author id="961">
Anonymous Monk</author>
<data>
<field name="doctext">
I found a util but it seems to require a mysql.pm. I am pulling a row from a MSSQL server which uses this format &lt;br&gt;
Jan 5 2005 11:43AM&lt;br&gt;or&lt;br&gt;
Jan 11 2005 11:14AM&lt;br&gt;it doesn't use a zero in front of a single digit date&lt;br&gt;
and I need to convert that into epoch, so I can compare it with current time, ie determine how many seconds old that timestamp is.&lt;br&gt;
is there a way to do it without special pm's ?&lt;br&gt;
Thanks</field>
<field name="reputation">
4</field>
</data>
</node>
