 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: RPGLE day, month and year calculation</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/rpgle-day-month-and-year-calculation/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-day-month-and-year-calculation/</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 07:49:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-day-month-and-year-calculation/#comment-112432</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Thu, 18 Oct 2012 08:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/rpgle-day-month-and-year-calculation/#comment-112432</guid>
		<description><![CDATA[To be sure about what you are asking, you want to have a day-number as a constant in your program. For example, you might have [ DayNumber = 10 ] coded into the program. Then you will retrieve the system YEAR value. Then you want the month number for 6 months before... the current date?
&#160;
Since today is October 18, 2012, you would have DayNumber = 10, YEAR = 2012, and MONTH = 4. The resulting date would be April 10, 2012.
&#160;
Is that the kind of thing you need?
&#160;
If not, can you provide a couple better examples?
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>To be sure about what you are asking, you want to have a day-number as a constant in your program. For example, you might have [ DayNumber = 10 ] coded into the program. Then you will retrieve the system YEAR value. Then you want the month number for 6 months before&#8230; the current date?<br />
&nbsp;<br />
Since today is October 18, 2012, you would have DayNumber = 10, YEAR = 2012, and MONTH = 4. The resulting date would be April 10, 2012.<br />
&nbsp;<br />
Is that the kind of thing you need?<br />
&nbsp;<br />
If not, can you provide a couple better examples?<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.011 seconds using memcached
Object Caching 268/271 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-23 07:51:58 -->