This commit is contained in:
2021-06-22 16:18:41 +08:00
parent fc29a17855
commit 5771635c9e
18 changed files with 390147 additions and 0 deletions

8
random_time.py Normal file
View File

@@ -0,0 +1,8 @@
import datetime
import random
def time_simulate(now_time):
delta_second_number = random.randint(1, 10)
delta_second = datetime.timedelta(seconds=delta_second_number)
now_time = now_time + delta_second
return now_time