MATLAB: Get time/date online

internetntptimeurlreadweb servicewebreadwebsite

Hi all,
I would like to get the date from a web service using MATLAB (not the system date). I'm using MATLAB R2014b.
I've found this topic which addresses the same issue and might give a solution: https://nl.mathworks.com/matlabcentral/answers/263511-get-today-s-date-online-via-matlab-command Unfortunately, I cannot implement the NTP protocol in MATLAB. Could somebody give me a hint?
Thanks in advance, Vincent

Best Answer

I'd take one of the many C-codes from the net and write a small C-Mac-wrapper.