smartin1017 Posted March 11, 2009 Share Posted March 11, 2009 Hi guys, I am trying to create a countdown timer for a website. I enter the date into the DB using Timestamp, i want to add 7 days to that time and then show a timer on the page. I have come across a couple javascript timers now if i can find a way to put in the time formatted the way they need (ex. March 12, 2009 7:00_) that would be one way or if any of you know a better way i am all ears. I appreciate any help. Quote Link to comment Share on other sites More sharing options...
samshel Posted March 11, 2009 Share Posted March 11, 2009 u can format the timestamp any way u like...take a look at http://us.php.net/manual/en/function.date.php for updating date in database from JS, u can search for AJAX functionality on google. hope thats what u r looking for. 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.