• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to work with timestampdiff?

#4
@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.
Reply


Messages In This Thread
How to work with timestampdiff? - by rjay - 05-15-2019, 12:17 PM
RE: How to work with timestampdiff? - by php_rocs - 05-15-2019, 02:34 PM
RE: How to work with timestampdiff? - by rjay - 05-15-2019, 03:14 PM
RE: How to work with timestampdiff? - by php_rocs - 05-15-2019, 07:04 PM
RE: How to work with timestampdiff? - by InsiteFX - 05-16-2019, 03:32 PM
RE: How to work with timestampdiff? - by rjay - 05-20-2019, 09:53 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.