Update date and time at PYNQ-Z2

Hello
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?

image

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

image

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>

Mario

1 Like