Setting system time with ntp

Is there an easy and simple way to set the system time once ntp does its update? Like a one liner?

EDIT: jumping back into programming after a 3 year hiatus is hard. Figured this out: setTime(timeClient.getEpochTime());

Now go check out my question on NTP, TimeZones and TimeAlarms.