siwelis Posted March 21, 2010 Share Posted March 21, 2010 I've been trying to figure out the most efficient way to find out how much time is between point A entered using now() and point B also using now() but of course, at a different time. I'm also wondering if this is better done with PHP, but I know that's for a different forum, so I've asked this question there too. So, how do I efficiently figure out the distance between two points in time with mysql? Thank you! Link to comment https://forums.phpfreaks.com/topic/196036-time-is-between-now-last-week-and-now-used-today/ Share on other sites More sharing options...
fenway Posted March 22, 2010 Share Posted March 22, 2010 How much time in seconds? You can compare timestamps. Link to comment https://forums.phpfreaks.com/topic/196036-time-is-between-now-last-week-and-now-used-today/#findComment-1030187 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.