Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4781

Troubleshooting • Re: 'date' returns incorrect date/time?

$
0
0
You could confirm if there is clock drift (for some reason) or if it is a time zone issue changing (for some reason) by updating your script, at least temporarily to use UTC. Just change

Code:

date +%F"-"%T
to

Code:

date -u +%F"-"%T

Statistics: Posted by buffalobill — Sun Jun 30, 2024 6:36 am



Viewing all articles
Browse latest Browse all 4781

Trending Articles