From 26e91acd9c67388db1e466f3093f440ff2ac9e59 Mon Sep 17 00:00:00 2001
From: Ludoviko
+ Your current timezone: + {{ Intl.DateTimeFormat().resolvedOptions().timeZone }} +
+The current time in Unix Epoch: {{ Math.floor(crntTime / 1000) }}
or {{crntTime}}
in Unix millis
+ To format the time for Discord, you can use:
+
+ {{ `
+
+ to get
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ day: 'numeric',
+ month: 'long',
+ year: 'numeric',
+ }).format(crntTime)
+ }}
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ hour: '2-digit',
+ minute: '2-digit',
+ }).format(crntTime)
+ }}
+
+
+ {{ `
+
+ to get
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ weekday: 'long',
+ day: 'numeric',
+ month: 'long',
+ year: 'numeric',
+ }).format(crntTime)
+ }}
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ hour: '2-digit',
+ minute: '2-digit',
+ }).format(crntTime)
+ }}
+
+
+ {{ `
+
+ to get
+
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ hour: '2-digit',
+ minute: '2-digit',
+ }).format(crntTime)
+ }}
+
+
+ {{ `
+
+ to get
+
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ hour: '2-digit',
+ minute: '2-digit',
+ second: '2-digit',
+ }).format(crntTime)
+ }}
+
+
+ {{ `
+
+ to get
+
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ day: '2-digit',
+ month: '2-digit',
+ year: 'numeric',
+ }).format(crntTime)
+ }}
+
+
+ {{ `
+
+ to get
+
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ day: 'numeric',
+ month: 'long',
+ year: 'numeric',
+ }).format(crntTime)
+ }}
+