First update.
This commit is contained in:
6
GetLocalTime.ts
Normal file
6
GetLocalTime.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export function getLocalTime():Date
|
||||
{
|
||||
const now = new Date();
|
||||
now.setHours(now.getHours() + 8);
|
||||
return now;
|
||||
}
|
Reference in New Issue
Block a user