<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-992226187759619576.post2370822253380300746..comments</id><updated>2011-12-14T10:38:17.665+05:30</updated><category term='flash'/><category term='openid'/><category term='Notification'/><category term='Youtube'/><category term='SQL'/><category term='icons'/><category term='Encoding'/><category term='Connection'/><category term='Game'/><category term='Image'/><category term='plug-in'/><category term='Scrolling'/><category term='Delete'/><category term='Windows'/><category term='Advertising'/><category term='Form'/><category term='Web'/><category term='Photoshop'/><category term='Testing'/><category term='base64'/><category term='t-shirt'/><category term='RSS'/><category term='Drag'/><category term='Graphics'/><category term='Nikon'/><category term='Projects'/><category term='List'/><category term='Marketing'/><category term='Flex'/><category term='eclipse'/><category term='Ideas'/><category term='Pagination'/><category term='google plus'/><category term='EC2'/><category term='News'/><category term='Painting'/><category term='Adobe'/><category term='9lessons'/><category term='checkbox'/><category term='jQuery'/><category term='CSS'/><category term='Rails'/><category term='URL'/><category term='Gmail'/><category term='Buttons'/><category term='Design'/><category term='XML'/><category term='Awesome Developer'/><category term='Inspiration'/><category term='SDK'/><category term='Twitter API'/><category term='Smarty'/><category term='Labs'/><category term='Table'/><category term='HTML'/><category term='OOP'/><category term='Payment'/><category term='Drawings'/><category term='Hacking'/><category term='Architecuture'/><category term='Free'/><category term='Upload'/><category term='Jsp'/><category term='google'/><category term='Geo'/><category term='Twitter'/><category term='javascript'/><category term='Email'/><category term='OAuth'/><category term='Technology'/><category term='Iphone'/><category term='Captcha'/><category term='Regular_Expressions'/><category term='Mysql'/><category term='Photos'/><category term='Wallpaper'/><category term='Logos'/><category term='Ajax'/><category term='Tutorials'/><category term='Programming'/><category term='Compute'/><category term='Fanpage'/><category term='Videos'/><category term='Drop'/><category term='Clone'/><category term='SMTP'/><category term='Hosting'/><category term='Blackberry'/><category term='Resources'/><category term='Chrome'/><category term='Language'/><category term='amazon'/><category term='Function'/><category term='Framework'/><category term='Scripts'/><category term='Smartphone'/><category term='Curl'/><category term='JSON'/><category term='Websites'/><category term='Facebook'/><category term='Yahoo'/><category term='Concepts'/><category term='Application'/><category term='MooTools'/><category term='Realistic'/><category term='Cloud'/><category term='HTML5'/><category term='Mail'/><category term='Mobile'/><category term='Reports'/><category term='php'/><category term='Spread Sheet'/><category term='Cropping'/><category term='Extension'/><category term='Wall'/><category term='WebDesign'/><category term='Popular'/><category term='Search'/><category term='Java'/><category term='Air'/><category term='API'/><category term='jQueryBasics'/><category term='Edit'/><category term='Extention'/><category term='Bing'/><category term='Browser'/><category term='blogger'/><category term='SEO'/><category term='Ruby'/><category term='CSS3'/><category term='Database'/><category term='Validation'/><category term='C prorgramming'/><category term='Object-oriented'/><category term='Update'/><category term='Foreign'/><category term='htaccess'/><category term='Paypal'/><category term='Rewriting'/><category term='TED'/><category term='Bug Tracking'/><category term='profile'/><category term='Login'/><title type='text'>Comments on 9lessons Programming Blog: PHP Time Stamp Function.</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.9lessons.info/feeds/2370822253380300746/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default?start-index=26&amp;max-results=25'/><author><name>Srinivas Tamada</name><uri>http://www.blogger.com/profile/17418084732618477326</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-7w94UgQpyNg/ThansTGlhtI/AAAAAAAAEs4/hVW2tEEVihw/s1600/avatar.php%253Fgravatar_id%253D7a9e87053519e0e7a21bb69d1deb6dfe'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>28</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-2209672839457130374</id><published>2011-12-14T06:42:57.392+05:30</published><updated>2011-12-14T06:42:57.392+05:30</updated><title type='text'>Couldn&amp;#39;t &amp;quot;one day ago&amp;quot; be &amp;quot;yest...</title><content type='html'>Couldn&amp;#39;t &amp;quot;one day ago&amp;quot; be &amp;quot;yesterday&amp;quot;?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/2209672839457130374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/2209672839457130374'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1323825177392#c2209672839457130374' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-337424895'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4082390426663727578</id><published>2011-10-18T13:53:46.309+05:30</published><updated>2011-10-18T13:53:46.309+05:30</updated><title type='text'>how can i apply this code to my project?pls help. ...</title><content type='html'>how can i apply this code to my project?pls help. huhu</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/4082390426663727578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/4082390426663727578'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1318926226309#c4082390426663727578' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1786696898'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-8081630802991765840</id><published>2011-10-18T02:04:08.417+05:30</published><updated>2011-10-18T02:04:08.417+05:30</updated><title type='text'>oh??? i have a problem with it... it shows 9hrs ag...</title><content type='html'>oh??? i have a problem with it... it shows 9hrs ago and it should me a bit of seconds ago will be display.. so what is the problem???</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/8081630802991765840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/8081630802991765840'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1318883648417#c8081630802991765840' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1030519572'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-6187981444645140892</id><published>2011-09-12T10:15:10.857+05:30</published><updated>2011-09-12T10:15:10.857+05:30</updated><title type='text'>very interesting post</title><content type='html'>very interesting post</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/6187981444645140892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/6187981444645140892'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1315802710857#c6187981444645140892' title=''/><author><name>motore asincrono</name><uri>http://motoreelettrico.blogspot.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-507007044'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-516691803393542454</id><published>2011-08-29T19:00:41.295+05:30</published><updated>2011-08-29T19:00:41.295+05:30</updated><title type='text'>thanks</title><content type='html'>thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/516691803393542454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/516691803393542454'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1314624641295#c516691803393542454' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-462392073'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4743092196104761900</id><published>2011-07-16T18:56:43.422+05:30</published><updated>2011-07-16T18:56:43.422+05:30</updated><title type='text'>very usefull and pure php code keep going.

thanks...</title><content type='html'>very usefull and pure php code keep going.&lt;br /&gt;&lt;br /&gt;thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/4743092196104761900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/4743092196104761900'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1310822803422#c4743092196104761900' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1556280419'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4503503000099991419</id><published>2011-07-10T22:09:45.998+05:30</published><updated>2011-07-10T22:09:45.998+05:30</updated><title type='text'>what should i do if i have the time saved as &amp;quot...</title><content type='html'>what should i do if i have the time saved as &amp;quot;2011-07-10T16:32:24+00:00&amp;quot; for example?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/4503503000099991419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/4503503000099991419'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1310315985998#c4503503000099991419' title=''/><author><name>Adrian</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-919277017'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5594040306963725988</id><published>2011-04-26T03:17:40.045+05:30</published><updated>2011-04-26T03:17:40.045+05:30</updated><title type='text'>really great post and usefull</title><content type='html'>really great post and usefull</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/5594040306963725988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/5594040306963725988'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1303768060045#c5594040306963725988' title=''/><author><name>Big News Articles</name><uri>http://www.bignewsarticles.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1964828475'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4369181060578033175</id><published>2011-01-26T04:15:26.972+05:30</published><updated>2011-01-26T04:15:26.972+05:30</updated><title type='text'>very very interesting post</title><content type='html'>very very interesting post</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/4369181060578033175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/4369181060578033175'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1295995526972#c4369181060578033175' title=''/><author><name>datingladys</name><uri>http://www.datingladys.com/forum/sitemap.xml</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-830512347'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5476557730277771247</id><published>2010-11-28T20:27:29.735+05:30</published><updated>2010-11-28T20:27:29.735+05:30</updated><title type='text'>very nice tutorial...great work</title><content type='html'>very nice tutorial...great work</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/5476557730277771247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/5476557730277771247'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1290956249735#c5476557730277771247' title=''/><author><name>love and relationship</name><uri>http://www.paper-news.net/love-and-relationship.html</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1189186208'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-3305375623787108845</id><published>2010-08-05T01:41:13.570+05:30</published><updated>2010-08-05T01:41:13.570+05:30</updated><title type='text'>my cms posts return posted 40 years ago by: Admini...</title><content type='html'>my cms posts return posted 40 years ago by: Administrator every time i add a new entry instead of showing may b 1 minue ago.&lt;br /&gt;can some one help me.&lt;br /&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/3305375623787108845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/3305375623787108845'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1280952673570#c3305375623787108845' title=''/><author><name>Bruno Oluka</name><uri>http://www.blogger.com/profile/03203056094234422846</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-878110049'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-2330400767248262454</id><published>2010-04-17T19:56:27.158+05:30</published><updated>2010-04-17T19:56:27.158+05:30</updated><title type='text'>hi ..i need a reverse i mean from &amp;quot;Posted 3 h...</title><content type='html'>hi ..i need a reverse i mean from &amp;quot;Posted 3 hours 26 mins ago&amp;quot; to timestamp</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/2330400767248262454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/2330400767248262454'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1271514387158#c2330400767248262454' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-898322947'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-3891006852703122080</id><published>2010-04-11T23:32:57.540+05:30</published><updated>2010-04-11T23:32:57.540+05:30</updated><title type='text'>A little improvment to the last posted version. Is...</title><content type='html'>A little improvment to the last posted version. Is more a facebook style date:&lt;br /&gt;&lt;br /&gt;function timesince($original) {&lt;br /&gt;$ta = array(&lt;br /&gt; array(31536000, &amp;quot;Year&amp;quot;),&lt;br /&gt; array(2592000, &amp;quot;Month&amp;quot;),&lt;br /&gt; array(604800, &amp;quot;Week&amp;quot;),&lt;br /&gt; array(86400, &amp;quot;Day&amp;quot;),&lt;br /&gt; array(3600, &amp;quot;Hour&amp;quot;),&lt;br /&gt; array(60, &amp;quot;Minute&amp;quot;),&lt;br /&gt; array(1, &amp;quot;Second&amp;quot;)&lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;$since = time() - $original;&lt;br /&gt;&lt;br /&gt;$res = &amp;quot;&amp;quot;;&lt;br /&gt;$lastkey = 0;&lt;br /&gt;&lt;br /&gt;for( $i=0; $i= 60 &amp;amp;&amp;amp; ($i - $lastkey) == 1 ){&lt;br /&gt;   $res .= ($cnt == 1) ? &amp;quot; y 1 {$ta[$i][1]}&amp;quot; : &amp;quot; y {$cnt} {$ta[$i][1]}s&amp;quot;;&lt;br /&gt;   break;&lt;br /&gt;  }else{&lt;br /&gt;   break;&lt;br /&gt;  }    &lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;return $res;&lt;br /&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/3891006852703122080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/3891006852703122080'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1271008977540#c3891006852703122080' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1424778457'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4847514365494985803</id><published>2010-03-30T12:12:51.687+05:30</published><updated>2010-03-30T12:12:51.687+05:30</updated><title type='text'>I would Do it this way


    function timesince($o...</title><content type='html'>I would Do it this way&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    function timesince($original) {&lt;br /&gt;        $ta = array(&lt;br /&gt;                &amp;#39;year&amp;#39;   =&amp;gt; 31536000, // year&lt;br /&gt;                &amp;#39;month&amp;#39;  =&amp;gt; 2592000,  // month&lt;br /&gt;                &amp;#39;week&amp;#39;   =&amp;gt; 604800,   // week&lt;br /&gt;                &amp;#39;day&amp;#39;    =&amp;gt; 86400,    // Day&lt;br /&gt;                &amp;#39;hour&amp;#39;   =&amp;gt; 3600,     // Hour&lt;br /&gt;                &amp;#39;minut&amp;#39;  =&amp;gt; 60,       // Minute&lt;br /&gt;                &amp;#39;second&amp;#39; =&amp;gt; 1);       // Second&lt;br /&gt;        $since = time() - $original;&lt;br /&gt;        $res = &amp;#39;&amp;#39;;&lt;br /&gt;        foreach($ta as $key =&amp;gt; $value) {&lt;br /&gt;            $cnt = floor($since / $value);&lt;br /&gt;            if($cnt != 0) {&lt;br /&gt;                $since = $since - ($value * $cnt);&lt;br /&gt;                if($res == &amp;#39;&amp;#39;){&lt;br /&gt;                    $res .= ($cnt == 1) ? &amp;#39;1 &amp;#39; . $key : &amp;quot;$cnt {$key}s&amp;quot;;&lt;br /&gt;                } else {&lt;br /&gt;                    $res .= ($cnt == 1) ? &amp;#39; 1 &amp;#39; . $key : &amp;quot; $cnt {$key}s&amp;quot;;&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;        return  $res;&lt;br /&gt;    }</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/4847514365494985803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/4847514365494985803'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1269931371687#c4847514365494985803' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1428717185'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-4326312914341136641</id><published>2010-03-16T11:05:47.210+05:30</published><updated>2010-03-16T11:05:47.210+05:30</updated><title type='text'>this is a great script...very few websites present...</title><content type='html'>this is a great script...very few websites present realtime examples like this...you are great...keep up good job dude</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/4326312914341136641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/4326312914341136641'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1268717747210#c4326312914341136641' title=''/><author><name>infopediaonlinehere</name><uri>http://infopediaonlinehere.blogspot.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1482857883'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-8678882957093803118</id><published>2010-03-05T22:14:04.498+05:30</published><updated>2010-03-05T22:14:04.498+05:30</updated><title type='text'>Try with:

$session_time= strtotime(&amp;quot;2010-03-...</title><content type='html'>Try with:&lt;br /&gt;&lt;br /&gt;$session_time= strtotime(&amp;quot;2010-03-03 00:01:51&amp;quot;);&lt;br /&gt;$time=time_stamp($session_time)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/8678882957093803118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/8678882957093803118'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1267807444498#c8678882957093803118' title=''/><author><name>Klian</name><uri>http://openid.blogs.es/Klian</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1944319494'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5335326548413842807</id><published>2010-03-04T04:47:45.530+05:30</published><updated>2010-03-04T04:47:45.530+05:30</updated><title type='text'>well i got it working
$session_time=&amp;quot;2010-03-...</title><content type='html'>well i got it working&lt;br /&gt;$session_time=&amp;quot;2010-03-03 00:01:51&amp;quot;;&lt;br /&gt;$time=time_stamp($session_time);</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/5335326548413842807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/5335326548413842807'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1267658265530#c5335326548413842807' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-204457512'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-2267327016705712572</id><published>2010-03-03T20:52:50.835+05:30</published><updated>2010-03-03T20:52:50.835+05:30</updated><title type='text'>hi guys!here is how i`m saving time in the db,the ...</title><content type='html'>hi guys!here is how i`m saving time in the db,the date field is timestamp.&lt;br /&gt;but when i try to load it is gives me 44 years ago.&lt;br /&gt;&lt;br /&gt;$session_time=&amp;quot;2010-03-03 00:01:51&amp;quot;;&lt;br /&gt;$time=time_stamp($session_time);&lt;br /&gt;So what i`m i doing wrong here</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/2267327016705712572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/2267327016705712572'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1267629770835#c2267327016705712572' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-51811310'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-8156517340627142648</id><published>2010-03-01T15:39:53.198+05:30</published><updated>2010-03-01T15:39:53.198+05:30</updated><title type='text'>the perfect code thanx Srinivas Tamada ;)</title><content type='html'>the perfect code thanx Srinivas Tamada ;)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/8156517340627142648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/8156517340627142648'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1267438193198#c8156517340627142648' title=''/><author><name>fare</name><uri>http://www.sibelilaclama.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1108659813'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-8541577365184280981</id><published>2010-02-26T09:19:35.937+05:30</published><updated>2010-02-26T09:19:35.937+05:30</updated><title type='text'>Very nice job. You&amp;#39;re like a genius at this.</title><content type='html'>Very nice job. You&amp;#39;re like a genius at this.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/8541577365184280981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/8541577365184280981'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1267156175937#c8541577365184280981' title=''/><author><name>UrbanTwitch</name><uri>http://cookyx.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1833457295'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-3440342817503566411</id><published>2010-02-07T07:19:12.408+05:30</published><updated>2010-02-07T07:19:12.408+05:30</updated><title type='text'>nice script..   excellent job..!!</title><content type='html'>nice script..   excellent job..!!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/3440342817503566411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/3440342817503566411'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1265507352408#c3440342817503566411' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1566116741'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-167491764265241625</id><published>2010-02-03T20:08:06.511+05:30</published><updated>2010-02-03T20:08:06.511+05:30</updated><title type='text'>nice Indian code =)

Try ZF/Symfony</title><content type='html'>nice Indian code =)&lt;br /&gt;&lt;br /&gt;Try ZF/Symfony</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/167491764265241625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/167491764265241625'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1265207886511#c167491764265241625' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-600583083'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-6471340553137857945</id><published>2010-01-27T14:38:37.916+05:30</published><updated>2010-01-27T14:38:37.916+05:30</updated><title type='text'>Here what I wrote long before myspace and facebook...</title><content type='html'>Here what I wrote long before myspace and facebook.&lt;br /&gt;&lt;br /&gt;http://nopaste.info/5537800c28.html</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/6471340553137857945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/6471340553137857945'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1264583317916#c6471340553137857945' title=''/><author><name>Alec Keyl</name><uri>http://facebook.com/aleckeyl</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-955763325'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-5293828279893391201</id><published>2010-01-27T10:27:47.252+05:30</published><updated>2010-01-27T10:27:47.252+05:30</updated><title type='text'>first time such a light post.. you should write so...</title><content type='html'>first time such a light post.. you should write something more important.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/5293828279893391201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/5293828279893391201'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1264568267252#c5293828279893391201' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1023124556'/></entry><entry><id>tag:blogger.com,1999:blog-992226187759619576.post-8199845390951836078</id><published>2010-01-26T16:26:01.043+05:30</published><updated>2010-01-26T16:26:01.043+05:30</updated><title type='text'>I don&amp;#39;t think timestamp are the way to go. Rat...</title><content type='html'>I don&amp;#39;t think timestamp are the way to go. Rather use normale date represetations.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/8199845390951836078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/992226187759619576/2370822253380300746/comments/default/8199845390951836078'/><link rel='alternate' type='text/html' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html?showComment=1264503361043#c8199845390951836078' title=''/><author><name>Master D</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.9lessons.info/2010/01/php-time-stamp-function.html' ref='tag:blogger.com,1999:blog-992226187759619576.post-2370822253380300746' source='http://www.blogger.com/feeds/992226187759619576/posts/default/2370822253380300746' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-344152369'/></entry></feed>
