There are 3 types of free TCP/IP stacks that you can use:
Would you share your quell-code?
To get current time, without too much interaction, an empty NTP frame is sent to the server and it will respond with the current time in 64-bit format.
In 2017 a suggested method would be to use an STM32F4DIS-BB board, or one of the NUCLEO-144 boards with the Ethernet built on it, the latter being significantly cheaper than the DISCO and BB
STM32F4DIS-BB STMicroelectronics | Development Boards, Kits, Programmers | DigiKey
The board is a partnership between EmBest and Element14, many example codes are available.
Retrieving data ...