|
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
16 datetime dt = {2015, 10, 23, 9, 36, 27};
42 if(states & 0b0100000)
int dt_toEt(datetime dt)
Get the Unix epoch time (number of seconds from Midnight, 1/1/1970) from a datetime type....
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.
void dt_run(datetime dt)
datetime Type definition of datetime_st structure.
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.
This library provides convenient functions for a variety of timekeeping operations....
datetime_st Structure containing y, mo, h, m, and s elements.
datetime dt_get()
Get the current system time. To find the current system time (as a datetime type),...
#define OFF
OFF can be used in place of zero to enabled parameters in functions like drive_feedback and drive_tri...