mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 08:17:23 +09:00
9 lines
199 B
TypeScript
9 lines
199 B
TypeScript
export default function (): string {
|
|
const now = new Date();
|
|
const y = now.getFullYear();
|
|
const m = now.getMonth();
|
|
const d = now.getDate();
|
|
const today = `${y}/${m + 1}/${d}`;
|
|
return today;
|
|
}
|