timediff - c++ version - using with gnu date
The gnu date command give the current date on the computer system. The --iso-8601 parameter tells date to provide in the YYYY-MM-DD format
robert@pip2:/tmp$ date
Sun Feb 10 07:35:12 PST 2019
robert@pip2:/tmp$ date --iso-8601
2019-02-10
Then you use command substitution to get the output of the
(
Read more... )