insert helper function timeHandler.getTimestamp()

This commit is contained in:
Bastian Schroll 2015-07-02 21:39:43 +02:00
parent 4a995683c0
commit ac8a02e3ca
3 changed files with 10 additions and 1 deletions

View file

@ -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()