Thursday, 11 May 2017

how to set a variable automatically zero for each midnight in node js

how to set a variable automatically zero for each midnight in node js is it possible to use node-schedule-npm ? if so please help me how to do it initially var count= 0; when action is performed, it will get incremented throughout the day, for next day it should be automatically set to zero.



via katy

No comments:

Post a Comment