hiw to get time to get time on attiny code example
Example: javascript get Time
var d=new Date();
d.getTime();//I'm in milliseconds, divide by 1000 for seconds
var d=new Date();
d.getTime();//I'm in milliseconds, divide by 1000 for seconds