How to work with timestampdiff? |
@rjay,
I'm saying first get both timestamp values into the database. Then all you have to do is create a database view that will take those two values and give you the difference (in a timestamp format). Pass that view to your controller which will pass it to your view. Then there will be no need to save the difference value in the database. |
Messages In This Thread |
How to work with timestampdiff? - by rjay - 05-15-2019, 11:17 AM
RE: How to work with timestampdiff? - by php_rocs - 05-15-2019, 01:34 PM
RE: How to work with timestampdiff? - by rjay - 05-15-2019, 02:14 PM
RE: How to work with timestampdiff? - by php_rocs - 05-15-2019, 06:04 PM
RE: How to work with timestampdiff? - by InsiteFX - 05-16-2019, 02:32 PM
RE: How to work with timestampdiff? - by rjay - 05-20-2019, 08:53 AM
|