<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My Oracle Business Intelligence Weblog</title>
	<atom:link href="http://thinkbi.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkbi.wordpress.com</link>
	<description>Madan Thota - OBIEE Notes</description>
	<lastBuildDate>Sat, 17 Jan 2009 23:27:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='thinkbi.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>My Oracle Business Intelligence Weblog</title>
		<link>http://thinkbi.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://thinkbi.wordpress.com/osd.xml" title="My Oracle Business Intelligence Weblog" />
	<atom:link rel='hub' href='http://thinkbi.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Converting UNIX EPOCH Time Into Date Using OBIEE</title>
		<link>http://thinkbi.wordpress.com/2009/01/09/converting-unix-epcoh-time-in-to-date-using-obiee/</link>
		<comments>http://thinkbi.wordpress.com/2009/01/09/converting-unix-epcoh-time-in-to-date-using-obiee/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 21:57:46 +0000</pubDate>
		<dc:creator>Madan Thota</dc:creator>
				<category><![CDATA[Date]]></category>
		<category><![CDATA[EPOCH]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://thinkbi.wordpress.com/?p=7</guid>
		<description><![CDATA[The UNIX epoch is the representation of points in time as the number of non-leap seconds since 00:00:00 UTC on January 1 1970, introduced by the UNIX operating system. Now most of the UNIX based systems maintain the time in epoch format and in most transactional system these data will save to database. When doing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thinkbi.wordpress.com&amp;blog=5363454&amp;post=7&amp;subd=thinkbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">The UNIX epoch is the representation of points in time as the number of non-leap seconds since 00:00:00 UTC on January 1 1970, introduced by the UNIX operating system. Now most of the UNIX based systems maintain the time in epoch format and in most transactional system these data will save to database. When doing the reporting on these machines, the physical column which is storing date will be shown as double, because underlying data is a number of seconds. Here is the ways to handle these columns in OBIEE </p>
<p class="MsoNormal">This normally suggested doing in ETL process, because any ETL tool handles this very easily. </p>
<p class="MsoNormal">If you don’t have any option to do it in ETL, then do the following in RPD. </p>
<p class="MsoNormal">1. In physical layer change the data type of column to INT</p>
<p class="MsoNormal">2. Then in Business Model create a column with the following code.</p>
<p class="MsoNormal">TimestampAdd(SQL_TSI_SECOND, databasecolumn, TIMESTAMP &#8217;1970-01-01 00:00:00.000&#8242;)</p>
<p class="MsoNormal">For example EVENTENG.CLOSEDDATE is my EPOCH date stored in database then my code will be</p>
<p class="MsoNormal">TimestampAdd(SQL_TSI_SECOND, EVENTENG.CLOSEDDATE, TIMESTAMP &#8217;1970-01-01 00:00:00.000&#8242;)</p>
<p class="MsoNormal">3. Add the column to presentation layer</p>
<p class="MsoNormal">4. In Answers check the dates, if your UNIX server is saving the date in GMT 0, then you need to adjust above date based on your time zone.</p>
<p class="MsoNormal">Here is the web link which converts the EPOCH time to a valid date, Use this link to validate the conversion. </p>
<p class="MsoNormal"><a href="http://www.epochconverter.com/">http://www.epochconverter.com/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thinkbi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thinkbi.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thinkbi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thinkbi.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thinkbi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thinkbi.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thinkbi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thinkbi.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thinkbi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thinkbi.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thinkbi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thinkbi.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thinkbi.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thinkbi.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thinkbi.wordpress.com&amp;blog=5363454&amp;post=7&amp;subd=thinkbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thinkbi.wordpress.com/2009/01/09/converting-unix-epcoh-time-in-to-date-using-obiee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f0c1a2f79405eb7d46a120006f08bdf3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Madan</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello OBIEE World!</title>
		<link>http://thinkbi.wordpress.com/2008/10/31/hello-world/</link>
		<comments>http://thinkbi.wordpress.com/2008/10/31/hello-world/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 14:06:55 +0000</pubDate>
		<dc:creator>Madan Thota</dc:creator>
				<category><![CDATA[Madan Thota]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Madan Thota<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thinkbi.wordpress.com&amp;blog=5363454&amp;post=1&amp;subd=thinkbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am  Madan Thota, working as BI Architect and specilized in OBIEE.  This is my first technical blog, and want to share and store some of my Ideas, Thoughts&#8230;and BI Tips.  Want do it from so long, BI Friends asking me to do that.. finaly got inspired and  get started with Hello OBIEE World.   These days( 2008 ) participating actively in OBIEE Forums.    Any way just to mention what ever i post here is all my personal views. </p>
<p>Wow&#8230;Feeling so good to start a blog and to share some ideas..</p>
<p>You can ask me questions related to obiee and feel free to comment my stuff. </p>
<p>Thanks</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thinkbi.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thinkbi.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thinkbi.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thinkbi.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/thinkbi.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thinkbi.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/thinkbi.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thinkbi.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thinkbi.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thinkbi.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thinkbi.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thinkbi.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thinkbi.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thinkbi.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thinkbi.wordpress.com&amp;blog=5363454&amp;post=1&amp;subd=thinkbi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://thinkbi.wordpress.com/2008/10/31/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f0c1a2f79405eb7d46a120006f08bdf3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Madan</media:title>
		</media:content>
	</item>
	</channel>
</rss>
