1. 2
    Format date with linux linux programming axcoto.com
  1.  

  2. 1

    Are those %D intentional? Seems like a bug in the example codeā€¦ and I guess the intended was something like :

    $ # this
    $ date "+%Y-%m-%d %H:%M:%S"
    2020-04-24 16:31:31
    $ # more then this:
    $ date "+%Y-%m-%D %H:%M:%S"
    2020-04-04/24/20 16:33:53
    

    or better yet (in my opinion):

    $ date -Iseconds
    2020-04-24T16:32:37+0200