Message from C, C++ discussions

November 2019

— It is as easy as, let's say, converting IEEE floats to a string


It really isn't, all you need to do is like get year / month / day / time and just replace the things you want to replace with the localization (if you even want that)

— Do you know that a day is not always 3600*24 seconds?

— Making a quirky, barely working implementation is easy

— Just like with a float to string implementation

— Making a correct one that will either be POSIX compliant (aka not scientifically correct) or that will follow correct conventions (being two way convertible) is remarkably complicated

Message permanent page

— True, but isnt that problem so small that it barely makes a difference?

— ^

— Also the only thing that you would need to handle i can think about is the leap year thing

— It can make all the difference in the ordering of operations of a database and crash everything

— If you go for a posix compliant, you will for example have twice the 59th second of the last minute of every year with a leap second

Message permanent page

— Who is talking about a databse, also if youre ordering a databse, shouldnt u just be using the unixtime

Message permanent page