<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://secure.freeside.biz/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ryanl</id>
		<title>Freeside - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://secure.freeside.biz/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ryanl"/>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php/Special:Contributions/Ryanl"/>
		<updated>2026-10-12T22:43:40Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Dates&amp;diff=2316</id>
		<title>Freeside:1.7:Documentation:Dates</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Dates&amp;diff=2316"/>
				<updated>2007-07-09T17:27:22Z</updated>
		
		<summary type="html">&lt;p&gt;Ryanl: /* Conversion in Crystal Reports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Freeside stores most dates as &amp;quot;[http://en.wikipedia.org/wiki/Unix_time Unix time]&amp;quot; - the number of seconds elapsed since midnight UTC on the morning of January 1, 1970, not counting leap seconds.&lt;br /&gt;
&lt;br /&gt;
== Conversion in Perl ==&lt;br /&gt;
&lt;br /&gt;
* Conversion from UNIX time: see the &amp;lt;code&amp;gt;localtime&amp;lt;/code&amp;gt; function or the &amp;lt;code&amp;gt;Date::Format&amp;lt;/code&amp;gt; module.&lt;br /&gt;
&lt;br /&gt;
* Conversion to UNIX time: see the &amp;lt;code&amp;gt;Date::Parse&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Time::Local&amp;lt;/code&amp;gt; modules, among others.&lt;br /&gt;
&lt;br /&gt;
== Conversion in PostgreSQL ==&lt;br /&gt;
&lt;br /&gt;
* Conversion from UNIX time (substitute in your own time zone, date field and output field name): &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
'epoch'::TIMESTAMP WITH TIME ZONE AT TIME ZONE 'PST' + _date_field * '1 second'::INTERVAL AS output_fieldname&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Conversion in Crystal Reports ==&lt;br /&gt;
&lt;br /&gt;
* Download the [http://www.viksoe.dk/code/u2lwin32.htm U2lwin32 user function library]&lt;br /&gt;
* Use the provided &amp;quot;EpochToDateTime&amp;quot; function&lt;br /&gt;
* Works with Crystal Reports 11 by manually installing the U2lwin32.dll to Business Objects\Common\3.5\bin&lt;/div&gt;</summary>
		<author><name>Ryanl</name></author>	</entry>

	</feed>