I often use time() which is east-coast time, but the attributes I believe use UTC, which can lead to some interesting discrepancies like check_update_threshold saying it's negative hours since an attribute was last checked. Make sure everything is UTC.
I often use
time()
which is east-coast time, but the attributes I believe use UTC, which can lead to some interesting discrepancies likecheck_update_threshold
saying it's negative hours since an attribute was last checked. Make sure everything is UTC.