Skip to content
Snippets Groups Projects
Commit 0871d042 authored by jkerdreu's avatar jkerdreu
Browse files

Oups

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/fork@1663 b32b6428-25c9-4566-ad07-03861ab6144f
parent b779ce49
Branches
No related tags found
No related merge requests found
......@@ -363,4 +363,4 @@ def build_timestamp():
"""Return array [seconds since epoch, microseconds since last seconds] Time = UTC+0000 """
epoch = datetime.datetime.utcfromtimestamp(0)
timestamp = datetime.datetime.utcnow() - epoch
return [int(timestamp.total_seconds()), int(timestamp.microseconds)]
return [long(timestamp.total_seconds()), int(timestamp.microseconds)]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment