Skip to main content

Posts

Showing posts from October, 2016

Time and Date formats.

I wanted to give my take on the debate about which date and time format is the best. The are 3 main formats for dates and 2 for time. D/M/Y, Y/M/D, M/D/Y, 12 and 24 hour time. There are other formats but these are the main ones. So why do I use Y/M/D 24h in a country that uses D/M/Y 12h? It's simple really but first, lets all agree that M/D/Y makes no dam sense. Anyway, moving on, D/M/Y and Y/M/D Makes sense because it goes from smallest to biggest or biggest to smallest and they can be easily swapped between but the biggest reason is due to how a computer counts. The most commonly used counting system is the hexadecimal (edit: sorry, I meant base36, hexadecimal is base 16) system which is from of 0 to Z. So 0, 1... 9, A, B... Z and symbols have their own block but that varies bit as to which character-encoding scheme is used. If you have a set of files that all start with the date and you sort by name. Under the D/M/Y system you get, 01-01-2010 01-02-2010 01-10-2009...