difference between datetimes


Posted on 16th Feb 2014 07:03 pm by admin

($row['totime']-$row['fromtime'])/60

this is giving me 0

example of totime and fromtime are:
2009-12-26 01:10:05 and 2009-12-26 1:03:01

i was thinking that with those values i would end up with something like 7

No comments posted yet

Your Answer:

Login to answer
214 Like 14 Dislike
Previous forums Next forums
Other forums

Logic question
im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

extract a file from zip file
hi,
i know how to unzip a zip file in php, but is there a way to just extract a certain file only

smart reading from a text file
Hello there fellow coders, i was wondering if one of you wouldnt mind helping me with this problem i

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

Printer configuration
Hi All,
Suppose one of the user deleted the printer settings unfortunatly ,then what is the pro

Asset Transfer from One plant to another within same company code
Hi,

Please advise how to transfer one asset from one plant to another plant within same c

GIS appliction help
I found some tutorials in the internet to develop a map application I don't want to use google maps

Needing Youtube thumb nail fix.
I have a script on a site that pulls in you-tube videos,
The problem is, that the thumb nails for

FROM_UNIXTIME($phpdate);
Hello,

I tried to use this :

$date = FROM_UNIXTIME($phpdate);

ANd I was t

Help With editting and deleting form
Hallo !!

So look at this image :

http://img194.imageshack.us/img194/8272/snapshot5f.pn

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash