8 lines
110 B
JavaScript
8 lines
110 B
JavaScript
|
|
// current time, in seconds
|
|
exports.curtime = function curtime()
|
|
{
|
|
return Math.round(Date.now() / 1000);
|
|
}
|
|
|