Tags
apache apparmor apt apt-get bash common mysql convert date diff division dpkg emails file find floating Forking https kickstart linux localtime Monitoring mysql package perl PHP phpmyadmin php seconds ago point Postfix queue rpm setup shell scripting size ssh subversion svn time time diff ubuntu UTC viewvc vim wordpress hacks wordpress tips wordpress tricks-
Meta
Recent Comments
- infosb on How to Disable Media Manager Services
- tago on OpenLDAP: failed init (bdb)
- ocanizo on daemontools: /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in envdir.o
- Shorten urls service make money on How To Get Yesterday's Date using BASH Shell Scripting
- sahil on daemontools: /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in envdir.o
- Cesar on No recognized SSL/TLS toolkit detected
- Ladd on daemontools: /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in envdir.o
- Mladen on How to Automatically Start Pageant with Private Keys in Windows
Categories
-
Recent Posts
- PHP: Get URL Content Using PHP Curl
- Netgear: Using WNDR3700 as Wireless Access Point
- Mac: How To Shutdown Using Command Line
- Linux: Send Process To Background And Logout
- Xbox: Westinghouse LCD TV and Xbox 360 Universal Remote
- Linux: Using Daemonize To Run User Processes In The Background
- Subversion: svn undo delete before commit
- Linux: How To Fix “node js openssh not found”
Blogroll
News
February 2012 M T W T F S S « Nov 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
CNN.com- Philippines issues local tsunami alert
- 'I'm sorry. Goodbye' precedes fatal Washington explosion
- Australians urged to flee flooding
- More caucuses next stop for Romney
- Activist: Rockets rip through Syrian city
- Sex abuse cases close school for days
- Lacrosse player faces trial in ex's death
- Saudi woman sues over right to drive
- Gingrich's Southern revival strategy
- Opinion: Syria in for bloody stalemate
BBC- Police chief at Leveson Inquiry
- Many trapped in Lahore collapse
- Romanian PM resigns over protests
- Web firms remove India material
- Syria troops step up Homs bombing
- Accidents due to icy conditions
- MP's call to fight web extremists
- Bank lending 'to shrink' in 2012
- Capello opposes FA Terry decision
- Woman runs for Mexico presidency
AL JAZEERA ENGLISH (AJE)- Suu Kyi given go-ahead to run in by-election
- Romania's PM resigns over austerity protests
- Abbas 'proposed as PM' in unity government
- US seeks 'clarification' over Egypt NGO trial
- Scores trapped in Pakistan building collapse
- Syrian army 'steps up Homs offensive'
- Obama 'in lockstep' with Israel on Iran issue
- Mexico's ruling party picks female candidate
- Noriega hospitalised over suspected stroke
- New York Giants win Super Bowl title
Archives
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- December 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- June 2008
- May 2008
- April 2008
- March 2008
Tag Archives: php seconds ago
PHP: How To Get A Time Difference in Human Readable Format
A simple function to return the time since a given timestamp in the past. function time_since($timestamp) { // Init $hash = array(); $now = time(); // Breakdown the time diff $diff = $now – $timestamp; $hash['day'] = floor($diff / 86400); … Continue reading
Tagged date diff, PHP, php seconds ago, time diff
1 Comment