diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-08 22:25:49 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-08 22:25:49 +0100 |
commit | d6cbbc51ab5c2af0f5280ec80a6fa66f20d4ed02 (patch) | |
tree | 8314c272b3627d9d7ecd525b537f4492dba0474d /stmhal/qstrdefsport.h | |
parent | 62b5f42d8174e49bc219e5231d4fc9503ece4131 (diff) | |
download | micropython-d6cbbc51ab5c2af0f5280ec80a6fa66f20d4ed02.tar.gz micropython-d6cbbc51ab5c2af0f5280ec80a6fa66f20d4ed02.zip |
stmhal: Add time.time() and time.localtime().
time.time: returns seconds since 1/1/2000, as an integer.
time.localtime: Returns 8-tuple: (year, month, date, hour, minute,
second, weekday, yearday).
Diffstat (limited to 'stmhal/qstrdefsport.h')
-rw-r--r-- | stmhal/qstrdefsport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/qstrdefsport.h b/stmhal/qstrdefsport.h index 7ffcddc7e3..c2cf6840df 100644 --- a/stmhal/qstrdefsport.h +++ b/stmhal/qstrdefsport.h @@ -236,6 +236,7 @@ Q(urandom) // for time module Q(time) +Q(localtime) Q(sleep) // for input |