NTPC: how to obtain "getHours" in 24 hrs format? #87
Labels
conclusion: invalid
Issue/PR not valid
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Please let me know if is it possible to get NTC
timeClient.getHours()
in 24hrs format?Always getting 12 hr format.
My piece of Arduino code:
Updating RTC chip with NTF time, if current time is 11PM then i got "11" but need "23":
BTW I know there is a way to use different approach e.g. epoch time or parse getFormattedTime etc...
The text was updated successfully, but these errors were encountered: