...
|
...
|
@@ -27,7 +27,7 @@ def convert_to_int(value): |
|
|
|
|
|
|
|
|
def get_nowtime():
|
|
|
return time.strftime("%Y%m%d%H%M%S",time.localtime(time.time()))
|
|
|
return time.strftime("%Y%m%d%H%M%S", time.localtime(time.time()))
|
|
|
|
|
|
|
|
|
def get_today():
|
...
|
...
|
@@ -35,7 +35,6 @@ def get_today(): |
|
|
str_time = now_today.strftime("%Y-%m-%d")
|
|
|
return str_time
|
|
|
|
|
|
|
|
|
def get_tomorrow():
|
|
|
tomorrow = (date.today() + timedelta(days=1)).strftime("%Y-%m-%d")
|
|
|
return tomorrow
|
...
|
...
|
@@ -43,7 +42,7 @@ def get_tomorrow(): |
|
|
|
|
|
def get_second():
|
|
|
curr_time = datetime.datetime.now()
|
|
|
return curr_time.second
|
|
|
return curr_time.second
|
|
|
|
|
|
|
|
|
def create_channel(num):
|
...
|
...
|
|