import os
import time
import ntplib
c = ntplib.NTPClient()
response = c.request('10.2.15.168')
ts = response.tx_time
_date = time.strftime('%Y-%m-%d',time.localtime(ts))
_time = time.strftime('%X',time.localtime(ts))
os.system('date {} && time {}'.format(_date,_time))