gijzelaerr / python-snap7

A Python wrapper for the snap7 PLC communication library
http://python-snap7.readthedocs.org/
MIT License
650 stars 245 forks source link

Add missing set_date function #494

Closed edo2313 closed 5 months ago

edo2313 commented 6 months ago

As written in this comment, a date variable is the number of days since 1990-01-01, written as a int. I can't test it right now, but it's really simple so there shouldn't be any problems...

gijzelaerr commented 5 months ago

manually merged here https://github.com/gijzelaerr/python-snap7/commit/d27e373a5aeff46a149543db5b85c6dc1af94b88

thanks!