diff --git a/NTPClient.h b/NTPClient.h index a31d32f..1a0a962 100755 --- a/NTPClient.h +++ b/NTPClient.h @@ -85,7 +85,11 @@ class NTPClient { int getHours() const; int getMinutes() const; int getSeconds() const; - + int getYear() const; + int getMonth() const; + int getDate() const; + + void getTM_t(tm &ti) const; /** * Changes the time offset. Useful for changing timezones dynamically */ @@ -102,6 +106,8 @@ class NTPClient { */ String getFormattedTime() const; + String getFullFormattedTime() const; + /** * @return time in seconds since Jan. 1, 1970 */