pdf-icon

NTP

Getting the time through a web server

Init ntptime with host and timezone Setting the NTP server and time zone

Get timestamp Getting Unix timestamps

Get date format with - Get date, display format as separator -

Get time format with - Get the time, display it in separator format -

Get date format with - and time format with : Displays the date and time in date format with the separator - and in time format with the separator.

Get year Get Year

Get month Get Monthly

Get day Get Day

Get weekday Get Week Day

Get hour Get Hour

Get minute Get Minutes

Get second Get seconds

Instructions for use

Display Unix timestamp and current time and date (Note: When the program is downloaded and run offline, you need to add WiFi connection program to make the device connect to the network before the NTP initialization program).

On This Page