I have two different fields, date and time, saved in MySQL database and I need to compare those two together with the current time in PHP.
I googled but I can only find examples with datetime or timestamp, nothing with “date” and “time” types.
Can you help me please?
are your date and time fields DATE and TIME types, respectively?
Also, what do you mean by “current time”? Is your script (_and_ database, _and_ client) using UTC?
You must be logged in to reply to this topic.