-
Replied To a Post in Calculate length of time between two datetime entries
Is there a reason you are not using DateTime and trying to use strtotime now? strtotime is going to return a timestamp, not a DateTime object, so you are not … -
Replied To a Post in Calculate length of time between two datetime entries
`$dteStart->diff($dteEnd);` returns an instance of [DateInterval](http://php.net/manual/en/class.dateinterval.php) If you want the hours from the DateInterval object you can use either of these formatting options, depending on the output you want and … -
Began Watching Calculate length of time between two datetime entries
I have a mysql database that has a Date Received entry and a Date Sent entry. I would like to calculate how many hours in between. This is what I … -
Began Watching file reading problem in php
I have a (2gb)txt file which has thousands of queries, i need to read those file queries and split those queries into n no. of txt files..and save them in … -
Replied To a Post in file reading problem in php
It sounds like you have a file with 10000+ lines in it, that you need to split into 50 line chunks and save to new files... If the file is …