mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-06 08:13:41 +08:00
a32afb2532
git-subtree-dir: panda git-subtree-split: 3b35621671aaa6de3fc66d85d30e4208a77e2489 old-commit-hash: b0b7a768f00d08fa30d7463efd0d05fcd5490088
14 lines
278 B
Python
Executable File
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())
|