Files
CardServer/GetLocalTime.ts

7 lines
122 B
TypeScript
Raw Permalink Normal View History

2025-10-11 14:45:08 +08:00
export function getLocalTime():Date
{
const now = new Date();
now.setHours(now.getHours() + 8);
return now;
}