Another date question (countdown)
Hello once again, sorry for posting so many questions but I both love php and this place :D
I store dates in my db for example: 2007-04-23 19:30:01
And I want it to show the time left until it hit zero (a countdown) but I cant figure out how to do this.
The date is separated so its.
Year = 2007
Month = 04
Day = 23
and so on..
I know I can get the current GMT with gmdate but i need some way to get the time between the time from the db and the current time.
Im not looking for an actual script that countdown automatic I just want it to countdown once when I reload the page.
Something like, 3 days and 10 hours left.