8 #include "simpletools.h" 14 &dt.
mo, &dt.
d, &dt.
y);
15 if(dt.
y > 38) dt.
y += 1900;
datetime dt_fromDateStr(datetime dt, char *s)
Populates the y, mo, and d fields in a datetime type with value representations of the characters in ...
< 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.