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

Add weeks in a query?
I have a SQL that summarizes the quantity per week. The weeks that has no value does not exist in th

Parse String
I need to parse the string below into three variables. How would I do that?

john + 10/20/2008

'grab_files', multiple extension?
hey guys,

can anyone suggest a way to make to following line of code look for files with more

IF Statement & Two Tables With Different Echoes
I'm retrieving two tables in a single query using UNION ALL, like so:

Code: $query = "SE

Wordpress IE issue
So I am trying to add the background shadow to my wordpress page. It works fine in Firefox but does

utl_file open error
i have file in the unix path

Path /popdev01/pop/popdevb/tfi/

File name

upload only text files
hi guys i want to upload only text like like (pdf,note pad and ofiice files) so can any one please t

Thought I has this figured out especially after all the help i received?
Cags, Salathe, Daniel helped me with this yesterday, but not sure i took it all in.
I am attempti

Is it possible to put an entire 500-page book in a database with PHP?
I am working on an intranet and I was wondering if its possible to code php with mysql to enter a fu

Comparing two dates
Hi Guys
I have two dates I want to compare. Below is my current implementation. The problem with

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