ChrisMartino Posted November 22, 2010 Share Posted November 22, 2010 Hey there, Thanks for taking the time to read my thread. I've encountered a problem that I cannot figure out a way to solve. I need to calculate the remaining days until a specified unix timestamp. I haven't yet figured out how to get the amount of days until the timestamp. If anybody could tell me how to get the remaining days until a unix timestamp I would be grateful, thanks. Quote Link to comment Share on other sites More sharing options...
litebearer Posted November 22, 2010 Share Posted November 22, 2010 http://richardathome.wordpress.com/2006/03/28/php-function-to-return-the-number-of-days-between-two-dates/ Quote Link to comment Share on other sites More sharing options...
ChrisMartino Posted November 22, 2010 Author Share Posted November 22, 2010 http://richardathome.wordpress.com/2006/03/28/php-function-to-return-the-number-of-days-between-two-dates/ I said unix timestamps. Quote Link to comment Share on other sites More sharing options...
litebearer Posted November 22, 2010 Share Posted November 22, 2010 Unix you say? Hmmmm http://www.phpbuilder.com/board/showthread.php?t=10100466 Quote Link to comment Share on other sites More sharing options...
litebearer Posted November 23, 2010 Share Posted November 23, 2010 BTW - IF you looked closely at the original link I gave - within the function it took 2 timestamps (unix ones btw) and calculated the days difference Quote Link to comment 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.