It there a command to show how many days certificate you have?

You can also use https://github.com/srvrco/checkssl if you want to ( it was written specifically to inform, or run a specific job when renewal was close). On the other hand, not that the LE script auto renews the certificate when it’s within 30 days of renewal there is less need for checking.