pretty timezone added

This commit is contained in:
2023-04-19 17:53:48 +03:00
parent 7a39e01b00
commit 2daac94e92
+2 -8
View File
@@ -1,12 +1,6 @@
const get_date_time = () => { const get_date_time = () => {
let currentdate = new Date() let current_date = "UTC time " + new Date()
let datetime = currentdate.getDate() + "/" return current_date
+ (currentdate.getMonth()+1) + "/"
+ currentdate.getFullYear() + " @ "
+ currentdate.getHours() + ":"
+ currentdate.getMinutes() + ":"
+ currentdate.getSeconds()
return datetime
} }
const get_unix_timestamp = () => { const get_unix_timestamp = () => {