Hello.
Just a quick query.
I'm trying to build/create a very basic auction element/expiry time.
I've got a date and time stored in a database, and what I'd like to do is:-
1. Check, is the date in the database table the same as today's date?
2. if so, countdown the hours, minutes, and seconds to zero.
What I've got so far, is very rough. at present load the database table into a html table (using php), and checked if the data in the database table/field is the same as today's date. If so, add the record into the html table.
I'm just a little stuck with creating the countdown, and using todays date and time and comparing it with the date/time in the database to create a countdown and to refresh the countdown to zero.
Could anyone please advise me?
Thank You.
Just a quick query.
I'm trying to build/create a very basic auction element/expiry time.
I've got a date and time stored in a database, and what I'd like to do is:-
1. Check, is the date in the database table the same as today's date?
2. if so, countdown the hours, minutes, and seconds to zero.
What I've got so far, is very rough. at present load the database table into a html table (using php), and checked if the data in the database table/field is the same as today's date. If so, add the record into the html table.
I'm just a little stuck with creating the countdown, and using todays date and time and comparing it with the date/time in the database to create a countdown and to refresh the countdown to zero.
Could anyone please advise me?
Thank You.