mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-06 21:01:54 +00:00
1 parent
695adb6dc9
commit
fdfbb39da6
12 files changed
+316
-233
No files matched your search
@@ -0,0 +1,7 @@
|
||||
export function todayDateStr() {
|
||||
return new Date().toISOString().slice(0, 10);
|
||||
}
|
||||
|
||||
export function nowUnix() {
|
||||
return Math.floor(Date.now() / 1000);
|
||||
}
|
||||
Reference in new issue
Block a user