difference between datetimes


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

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

this is giving me 0

Did you know?Explore Trending and Topic pages for more stories like this.
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

socket makes browser hang...
I have a socket server, and I am having a problem at the moment...

A browser sends a http hea

Are sessions secure at all?..
I haven't really gotten into yet, but I was just thinking of something weird..

Lets say you h

Calling All PHPFREAKS Blackberry Users
Are you a member of PHPFreaks and have a blackberry? Well RIM just recently released Blackberry Mes

Check if another session of the page is running?
I want to keep people from opening multiple tabs, or sessions of my Facebook app. Is it possible to

xml
<?php

echo "<h1>XML Articles</h1>";

$home

generating random codes
Hi guys n gals,

I have a requirement to generate 250,000 unique codes...

These codes a

Problem executing bash script using shell_exec
Hi there,
I created a bash script file using following code to convert doc documents to pdf using

Call db table from any PHP file
Hi,

I want to be able to call a database table that will be setup in another file called init

How to make URL loads only on login
On my page, when a user login he's redirects to user_home.php. I made it also to open the chat scree

Problem with the Update command used with a sqldataadapter
I'm connected to a database on an SQL Server and I'm using a sqldataadapter, sqlconnection, sqldatas

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