Files
CardServer/GetLocalTime.ts
2025-10-11 14:45:08 +08:00

7 lines
122 B
TypeScript

export function getLocalTime():Date
{
const now = new Date();
now.setHours(now.getHours() + 8);
return now;
}