sastro Posted October 11, 2009 Share Posted October 11, 2009 How to get $datetime_a - $datetime_b in seconds? example in date date(YmdHis) 20090917120507 - 20090918120507 ? Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/177255-solved-time-deviation/ Share on other sites More sharing options...
mikesta707 Posted October 11, 2009 Share Posted October 11, 2009 have you looked into strtotime? Quote Link to comment https://forums.phpfreaks.com/topic/177255-solved-time-deviation/#findComment-934624 Share on other sites More sharing options...
sastro Posted October 11, 2009 Author Share Posted October 11, 2009 Ok thanks. Works with strtotime. Quote Link to comment https://forums.phpfreaks.com/topic/177255-solved-time-deviation/#findComment-934638 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.