sofia403 Posted May 17, 2011 Share Posted May 17, 2011 what would i need to add to the expression below, so that values would always have word "days" at the end? thanks $TotalTime = floor((time() - $Submission_ts)/(60*60*24)) Quote Link to comment https://forums.phpfreaks.com/topic/236594-date/ Share on other sites More sharing options...
jcbones Posted May 17, 2011 Share Posted May 17, 2011 $TotalTime = floor((time() - $Submission_ts)/(60*60*24)) . ' days'; Quote Link to comment https://forums.phpfreaks.com/topic/236594-date/#findComment-1216296 Share on other sites More sharing options...
sofia403 Posted May 17, 2011 Author Share Posted May 17, 2011 thanks Quote Link to comment https://forums.phpfreaks.com/topic/236594-date/#findComment-1216302 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.