diff --git a/layer/utils/time.ts b/layer/utils/time.ts new file mode 100644 index 00000000..a8129a0f --- /dev/null +++ b/layer/utils/time.ts @@ -0,0 +1,3 @@ +export const todayInSeconds = (): number => { + return Math.floor(Date.now() / 1000) +}