Files
pixel-streaming-coordinator/src/modules/time.js
T

14 lines
422 B
JavaScript

const get_date_time = () => {
let currentdate = new Date();
let datetime = currentdate.getDate() + "/"
+ (currentdate.getMonth()+1) + "/"
+ currentdate.getFullYear() + " @ "
+ currentdate.getHours() + ":"
+ currentdate.getMinutes() + ":"
+ currentdate.getSeconds()
return datetime
}
module.exports = {
get_date_time
}