| Issue 3: | Create dynawa.time.* API |
1 of 9
Next ›
|
| 1 person starred this issue and may be notified of changes. | Back to list |
Create time-related Lua API at dynawa.time.* * dynawa.time.milliseconds() - Returns number of milliseconds since the last boot. * dynawa.time.set(????) - API for setting real-time clock. * dynawa.time.get(???) - API for getting real time clock values. Instead of dynawa.time.get(), we can maybe use the existing Lua API os.time() to get formatted or unformatted time. However, plain Lua does not provide any functions for SETTING the time.
Jan 30, 2010
Project Member
#1
fuka2@fuxoft.cz
Owner:
nalim68
Feb 7, 2010
dynawa.time.set() already implemented, the rest can be done using Lua's os.time() and os.date()
Status:
Done
|