10 #include "simpletools.h" void dt_toTimeStr(datetime dt, char *s)
Populates a string (minimum 9 characters) with the hh:mm:ss representation of a datetime type's time...
< datetime_st Structure containing y, mo, h, m, and s elements.
This library provides convenient functions for a variety of timekeeping operations. This library makes use of a manual Spin to C translation of functions from Bob Belleville's date_time_epoch.spin for converting to/from between epoch time (seconds from midnight, 1/1/1970) and a datetime format.
datetime dt_fromEt(int et)
Get the datetime representation of an a Unix epoch time (number of seconds from Midnight, 1/1/1970).
void dt_toDateStr(datetime dt, char *s)
Populates a string (minimum 9 characters) with the mm/dd/yy representation of a datetime type's date...
#define OFF
OFF can be used in place of zero to enabled parameters in functions like drive_feedback and drive_tri...