stuffradio Posted January 3, 2008 Share Posted January 3, 2008 I'm trying to figure out how to take a time stamp and see how long a go that was posted. Quote Link to comment https://forums.phpfreaks.com/topic/84225-solved-last-posted-date-function/ Share on other sites More sharing options...
teng84 Posted January 3, 2008 Share Posted January 3, 2008 you can use datediff or timediff in your sql query that is a bit simple i guess Quote Link to comment https://forums.phpfreaks.com/topic/84225-solved-last-posted-date-function/#findComment-428897 Share on other sites More sharing options...
stuffradio Posted January 3, 2008 Author Share Posted January 3, 2008 I don't think that'd make much sense... I'm using this for a forum I'm making. On the index of phpfreaks forum you see "Post Information Last Posted blah blah blah" How do I do that? Quote Link to comment https://forums.phpfreaks.com/topic/84225-solved-last-posted-date-function/#findComment-428961 Share on other sites More sharing options...
teng84 Posted January 3, 2008 Share Posted January 3, 2008 I don't think that'd make much sense... I'm using this for a forum I'm making. On the index of phpfreaks forum you see "Post Information Last Posted blah blah blah" How do I do that? i dont know why that doesn't make sense to you... that is the best way to do that.. look at the function of those codes and tell me why that makes no sense Quote Link to comment https://forums.phpfreaks.com/topic/84225-solved-last-posted-date-function/#findComment-428973 Share on other sites More sharing options...
stuffradio Posted January 3, 2008 Author Share Posted January 3, 2008 I think I know how I could use it now that I think about it... actually it does make sense now lol. I could just convert the time difference in to hours, days, etc. Quote Link to comment https://forums.phpfreaks.com/topic/84225-solved-last-posted-date-function/#findComment-428978 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.