Example:
var horaAtual = new Date();
var horaInicio = new Date("Fri Apr 01 2016 23:30:00");
//Quando(horaAtual == horaInicio)
//execute algo...
I want a function to run when it reaches an hour already set in my code, without the user needing to refresh the page.
How can I do this?