
#include
<RTC.bas>
' source in /Program Files/Coridium/BASIClib
#include <RTC17.bas> ' for the PROplus and SuperPRO LPC175x
FUNCTION DAY(value) ' when called with 0, the current day is returned, otherwise set the current day
Function setting or returning the day of the
month.
When called with a non-zero value, the DAY is changed.
Range 1 to 28, 29, 30, or 31
(depending on the month and whether it is a
leap year).