vendredi 15 juillet 2016

jquery library know when new day is coming


I wonder how can detect or know when new day is coming by using jquery or others jquery library. For examples: Assume, right now is 2016/06/23 23:59:50. And when second come to 2016/06/24 00:00:00, jquery can detect an event. I know we can use setTimeOut or setInterval and check every seconds when new day is coming. But i don't want to use these methods above, what methods of jquery do we detect ?

Aucun commentaire:

Enregistrer un commentaire