mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-04 14:07:25 +00:00
insert helper function timeHandler.getTimestamp()
This commit is contained in:
parent
4a995683c0
commit
ac8a02e3ca
3 changed files with 10 additions and 1 deletions
|
|
@ -47,3 +47,11 @@ def getTime():
|
|||
@return: Formated time
|
||||
"""
|
||||
return curtime("%H:%M:%S")
|
||||
|
||||
def getTimestamp():
|
||||
"""
|
||||
Returns a integer timestamp
|
||||
|
||||
@return: integer timestamp
|
||||
"""
|
||||
return int(time.time()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue