1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00
This commit is contained in:
GH Action - Upstream Sync
2025-02-03 16:24:34 +00:00
10 changed files with 60 additions and 17 deletions

View File

@@ -603,6 +603,17 @@ def get_server_weekday():
return result
def get_server_monthday():
"""
Returns:
int: The server's current day of the month
"""
diff = server_time_offset()
server_now = datetime.now() - diff
result = server_now.day
return result
def random_id(length=32):
"""
Args: