Hi, I would like to use the utime object, which on the left outlet is supposed to give you the seconds since epoch. However, in my case the last 4 digits are always 0 (so right now I get always 1.554780000), so essentially it is only updated after roughly 3 hours when the 5th digit increments. Right output (fraction in microseconds) is working fine, however. Is this an issue or am I missing something completely? Tested on Mac and RPI with same result. Any explanation is welcome - Thanks.
-
[utime] problem - last digits not updating
-
@aprileon It is old. 32-64-bit problem? In 64-bit windows running 32-bit Pd it prints backwards.....
(seconds)(previous 4 digits)......... so 987192, 997192, 7193, 17193 etc. for a few seconds and then prints garbage and reverts....... impossible to get anything meaningful.
You might need to use [time] like this........ https://forum.pdpatchrepo.info/topic/11451/system-clock-on-raspberry-pi...... or a shell like this...... https://forum.pdpatchrepo.info/topic/9794/pd-vanilla-ideas-for-date-time
David.