I rarely ever use the date command, but when I need it I almost always struggle to get the right incantation. So, wrote a blog post for easy reference.

Do you use a cheatsheet as well?

  • atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    The other “real person” who replied to me told me that the Linux date command has nothing to do with formatting.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      Second sentence of the description from the man pages, “Otherwise, depending on the options specified, date will set the date and time or print it in a user-defined way.” not sure what they were on about.

      • atzanteol@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        Right - I’m just saying that it’s super annoying that people point out times that llms have been wrong as though humans are never wrong, or even aren’t wrong frequently.