Files
openpilot-evo/panda/tests/rtc_test.py
T
Vehicle Researcher 9c2632d9d1 Merge commit 'cd1dd25e640dffec732f3f58fbd9b336d7bf91b6' as 'panda'
old-commit-hash: af301ad7b5cb6cc5c38725082acab3eecab19c29
2020-01-15 14:04:42 -08:00

14 lines
278 B
Python
Executable File

#!/usr/bin/env python
import os
import sys
import datetime
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), ".."))
from panda import Panda
if __name__ == "__main__":
p = Panda()
p.set_datetime(datetime.datetime.now())
print(p.get_datetime())