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

Loop column after 2 results
Hello All.

Here is what I have:

Client ID Company name Clien

Problem with creating FI documents
Hi, Experts!

when i create Fi doc. with standart transaction, i ve been had such problem

check_changed_data - I can't get data from the called method event
I use check_changed_data to trigger my event method.

The method delivers er_changed_data.

PHP4 to PHP5 Conversion
Hi Everyone,

I am working on a site that is built up on PHP4 and each page is being started f

explode() function problem maybe
Hi I'm having trouble searching my database. When I type two words in the search field it only searc

passthru() help
Hi everyone,
I'm new to the forum and to PHP. I have some pretty good experience writing shell sc

PHP Script runs on CLI but not through web browser
I am running into an issue that I just can't seem to find the answer to. I have a Windows Server 200

Print out contents of to Excel
I have got this script that gathers all the data that I need but I need it to send it to excel inste

serializing objects - loses methods - the point being?
Hi

I know that serializing an object will lose the methods. But whats the point in that? What

gettext translates ALWAYS?
I'm using gettext with the new version of XAMPP (5.3.0) on Windows Seven RTM (build 7600)
gettext

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