Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Your Blog, 5. February 2010
Message
From
15/03/2010 03:53:29
 
 
To
14/03/2010 19:59:25
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01454095
Message ID:
01454489
Views:
43
LOL

you made my day :-)))))))

>>Hi Dragan,
>>
>>in Germany we usually use date format DD.MM.YY. However I really don't like this format from a programmers point of view. But this is the same for the american format , too. I'd prefer a format like YY.MM.DD by default. This would make much more sense for any kind of sorting timestamps, that i.e. for some reason can only be sorted alphanumerical.
>
>I know, and generally feel the same about the dates stored for programmatic use. However, this was about human readable dates, where they should be in the shape dictated by the language and culture. For example, our traditional date format was dd-MMM-yyyy, where the MMM stood for the Roman numeral of the month. Today would be 13-III-2010. And then the computers came and we gradually adopted the German date format.
>
>Speaking of date formats, the MIT announces their results (who will be accepted as their student in the fall and who not) today, at 13:59. Why? Well, today is the Pi day... so, 3.14159 - on three fourteen, at one fiftynine. Which is ridiculous at both the date level (the utterly unmathematical American date) and the hour level (the silly 12+12 hour day), but that's the American attitude towards the units of measure.
>
>>This is i.e. what often happens with file names these days. We have to sort files with identical creation dates (down to seconds) that have a timestamp within their filename. But formatted like ddmmyyhhmmss there is no quick way for a sort. Formatted like yymmddhhmmss this could be done alphanumerical by design.
>
>Whoever wrote the requirement, knew just enough about sorting to be dangerous... to your mental health.
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Previous
Reply
Map
View

Click here to load this message in the networking platform