DateDiff

Codes here !

Moderators: macek, egami, gesf

Bulgarin
New php-forum User
New php-forum User
Posts: 4
Joined: Wed May 30, 2012 8:38 am

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!

User avatar
Nullsig
php-forum Fan User
php-forum Fan User
Posts: 981
Joined: Thu Feb 17, 2011 6:52 am
Location: Racine, WI

Re: DateDiff

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

I gave you the code necessary to do this in your other post.


Return to “mySQL & php coding”

Who is online

Users browsing this forum: No registered users and 1 guest

cron