Reading Data from Device in every 30 minutes

i give up Trying RTC and started NTP somebody from community shared a code for getting time from NTP but i can not configure it for Nodemcu ESP8266