Closed oldblackcrow closed 2 years ago
This isn't really an issue with the library. Please ask on the Adafruit forum or Discord next time.
However, you want:
print(
"The date is {} {}/{}/{}".format(
days[int(t.tm_wday)], t.tm_mon, t.tm_mday, t.tm_year
)
)
Hello. Just ran the code as it is on your page and the date displays as:
Sunday 20/5/2022
Is there a way to make it 05/20/2022?
Thanks!