-1

In general, I wonder why many programming languages use "E" as the date format for the day of the week.

Y : Year M : Month D : Day H : Hour m : min s : sec

but, E : day of week.. why...?

I'm curious about the origin of the date format. Especially for E, which is the format of the day of the week.

  • What letter would you have chosen, and why? I'll bet it was an arbitrary choice, because the more obvious selections had already been used. – Tangentially Perpendicular Aug 25 '23 at 03:03
  • 1
    This question may be more relevant in retrocomputing. You ask about history, so you need people who has access to old documentation (or who like history, so they may remember some interview about it). But as many "most arbitrary" decisions, people may agreed for various minor reasons and so each one will tell you a different reason. API design was not a hot topic (and also not many example to find bad practices) – Giacomo Catenazzi Aug 25 '23 at 06:47

0 Answers0