pretty timezone added
This commit is contained in:
+2
-8
@@ -1,12 +1,6 @@
|
||||
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
|
||||
let current_date = "UTC time " + new Date()
|
||||
return current_date
|
||||
}
|
||||
|
||||
const get_unix_timestamp = () => {
|
||||
|
||||
Reference in New Issue
Block a user