Update date and time at PYNQ-Z2

for my application I need to use current date and time, for that I use code pasted below. Sadly date and time at PYNQ board are not up to date, how can I set them to be correct?


I have tried to do it thru PUTTY but operation is not permitted


Hi @DexDSI,

Welcome to the PYNQ community.

The board needs to be connected to the Internet to get the current date.
You should be able to update the date manually executing the command with sudo

sudo date <currentdate>


1 Like