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