Hello,<br><br>I am HDBC with the Postgres driver. I am trying to read a simple date column from the DB:<br><br>stmt &lt;- DB.prepare conn &quot;SELECT date FROM my_table ORDER BY date DESC LIMIT 1&quot;<br>DB.execute stmt []<br>
DB.commit conn<br>rows &lt;- fetchAllRows&#39; stmt<br>let ((d:_):_) = rows<br><br>the d variable is of type:<br><br>SqlEpochTime 1213736400<br><br>I am wondering how to convert this value to an UTCTime value. <br><br>Any help appreciated (I am a newbie).<br>
<br>-g.<br><br><br clear="all"><br>-- <br><a href="http://gmosx.me.gr">http://gmosx.me.gr</a><br><a href="http://joy.gr">http://joy.gr</a><br><a href="http://cull.gr">http://cull.gr</a><br><a href="http://nitroproject.org">http://nitroproject.org</a><br>
<a href="http://phidz.com">http://phidz.com</a><br><a href="http://joyerz.com">http://joyerz.com</a>