How can I make a time, for example 09, to a UNIX timestamp? I tried strtotime()
but unsuccessfully. strtotime("9")
returns nothing.
Edit:
It's my fault that I didn't mention before but I'm trying to check if current time + 30 minutes is bigger or equal to time, saved in a mysql DB. I save time in DB as 09, for example (probably there's my mistake).