.getWeekSt
DESCRIPTION
Returns a string of the Week. If the Week is less then 10, adds a leading zero in front of the Week.
SYNTAX
RTC.getWeekSt();
PARAMETERS
none
RETURNS
Returns a string of the Week. If the Week is less then 10, adds a leading zero in front of the Week.
EXAMPLE
#include
#include
#include
#include
InvIoT_U1 lcd(A0, A1); InvIoT_RTC rtc; void setup() { rtc.init(); } void loop() { lcd.clear(); lcd.print(rtc.getWeekSt()); delay(250); }
SEE ALSO
.setYYMMDDHHMMSS
.setYYMMDD
.setHHMMSS
.getYYMMDDHHMMSS
.getTime24