Search code examples
dateformatnaming

What is the technical name for the YYYY-MM-DD HH:MM:SS datetime format?


Does the YYYY-MM-DD HH:MM:SS datetime format have a special name? I am writing a function that returns a date in this format and I'm trying to figure out what to call the function.


Solution

  • I can't find a source, but in my experience (25 years working as a systems programmer in UNIX environments) this format is referred to colloquially among engineers as Yoda Time.

    It's not valid ISO 8601 because it uses a space instead of a T to separate the date and time parts.