I want to change the given date format

no worries

i was so fixated on how the %m format would generate the leading zero and thus avoid this common string sorting problem –

1-18
10-18
11-18
12-18
2-18
...

that i completely overlooked the year

i feel like such a dumbass

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.