We don't have the datetime module, but we do have time.
https://docs.micropython.org/en/latest/ ... /time.html
Can you do something with time.ticks_add() to add 5 days to the current time to get a new timestamp, then time.localtime() to convert that for display?
Five days in ms is 432,000,000.
https://docs.micropython.org/en/latest/ ... /time.html
Can you do something with time.ticks_add() to add 5 days to the current time to get a new timestamp, then time.localtime() to convert that for display?
Five days in ms is 432,000,000.
Statistics: Posted by ame — Wed Nov 27, 2024 10:04 pm