Linux: date cmd doesn’t accept its own output string as input string?

The question: $ date Mi 14. Jun 09:54:58 CEST 2017 $ date -d “Mi 14. Jun 09:54:58 CEST 2017” +%s date: invalid date ‘Mi 14. Jun 09:54:58 CEST 2017’ Why wouldn’t the date command accept its own output string as valid input string? The Solutions: Below are the methods you can try. The first solution … Read more