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)) 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'; 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 Link to comment https://forums.phpfreaks.com/topic/236594-date/#findComment-1216302 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.