Board index   FAQ   Search  
Register  Login
Board index php forum :: Database mySQL & php coding

DateDiff

Codes here !

Moderators: macek, egami, gesf

DateDiff

Postby Bulgarin » Sat Jun 02, 2012 5:40 am

Can someone write me php-code to get datediff, when compare date from database and current date and result is "2 days, 13 hours and 13 minutes" (for example)
Thanks!
Bulgarin
New php-forum User
New php-forum User
 
Posts: 4
Joined: Wed May 30, 2012 8:38 am

Re: DateDiff

Postby Nullsig » Mon Jun 04, 2012 5:09 am

I gave you the code necessary to do this in your other post.
User avatar
Nullsig
php-forum Fan User
php-forum Fan User
 
Posts: 981
Joined: Thu Feb 17, 2011 6:52 am
Location: Racine, WI


Return to mySQL & php coding

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron