398
you are viewing a single comment's thread
view the rest of the comments
[-] zr0@lemmy.dbzer0.com 15 points 3 months ago

Order by string desc would be Z-A ordering, or 9-0

ORDER BY str(Hour) DESC: 9, 8, 7, 6, 5, 4, 3, 2, 12, 11, 10, 1

ORDER BY int(Hour) DESC: 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1

[-] gwl 2 points 3 months ago
[-] optissima@lemmy.ml 2 points 3 months ago

Finally a truly localised time

[-] gwl 2 points 3 months ago

I meant programming language, but yeah also true

this post was submitted on 05 Nov 2025
398 points (100.0% liked)

Programmer Humor

30118 readers
251 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS