pretty timezone added
This commit is contained in:
+2
-8
@@ -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 = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user