<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://springboardsolutions.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Dates_in_PS_Query</id>
		<title>Dates in PS Query - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://springboardsolutions.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Dates_in_PS_Query"/>
		<link rel="alternate" type="text/html" href="http://springboardsolutions.com/wiki/index.php?title=Dates_in_PS_Query&amp;action=history"/>
		<updated>2026-10-17T02:42:08Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.25.2</generator>

	<entry>
		<id>http://springboardsolutions.com/wiki/index.php?title=Dates_in_PS_Query&amp;diff=273&amp;oldid=prev</id>
		<title>WikiSysop: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://springboardsolutions.com/wiki/index.php?title=Dates_in_PS_Query&amp;diff=273&amp;oldid=prev"/>
				<updated>2016-03-25T08:51:09Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 08:51, 25 March 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>	</entry>

	<entry>
		<id>http://springboardsolutions.com/wiki/index.php?title=Dates_in_PS_Query&amp;diff=271&amp;oldid=prev</id>
		<title>WikiSysop at 22:14, 28 August 2015</title>
		<link rel="alternate" type="text/html" href="http://springboardsolutions.com/wiki/index.php?title=Dates_in_PS_Query&amp;diff=271&amp;oldid=prev"/>
				<updated>2015-08-28T22:14:29Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[PeopleSoft Query]] surrounds dates and datetimes from the database with a conversion to consistent format. This is similar to the effect of the PeopleCode %DateOut, %TimeOut and %DateTimeOut. The effect of this can be seen when you preview the SQL.&lt;br /&gt;
&lt;br /&gt;
The date functions are particular to the database in use. For instance in Oracle:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;to_char(A.EFFDT,'YYYY-MM-DD')&amp;lt;/pre&amp;gt;&lt;br /&gt;
The conversion to char means that the date functions will not work natively. You can convert this back to date by creating an expression as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;to_date(A.EFFDT,'YYYY-MM-DD')&amp;lt;/pre&amp;gt;&lt;br /&gt;
This means that you can then use date functions:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;add_months(to_date(A.EFFDT,'YYYY-MM-DD'),-12)&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that DateTimes can be converted differently and so care is needed when mixing data types.&lt;br /&gt;
&lt;br /&gt;
==More About Functions==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[File:UsingFunctionsInPeopleSoftQuerySmall.jpg|90px|link=http://www.amazon.co.uk/gp/product/B013ZRND0I/ref=as_li_tl?ie=UTF8&amp;amp;camp=1634&amp;amp;creative=6738&amp;amp;creativeASIN=B013ZRND0I&amp;amp;linkCode=as2&amp;amp;tag=springboardso-21]]&lt;br /&gt;
&lt;br /&gt;
|For more information about functions in [[PeopleSoft Query]] and some other interesting stuff too, read our eBook:&lt;br /&gt;
&lt;br /&gt;
[http://www.amazon.co.uk/gp/product/B013ZRND0I/ref=as_li_tl?ie=UTF8&amp;amp;camp=1634&amp;amp;creative=6738&amp;amp;creativeASIN=B013ZRND0I&amp;amp;linkCode=as2&amp;amp;tag=springboardso-21 Using Functions in PeopleSoft Query]&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>	</entry>

	</feed>