Affiche la date d'hier par la commande date.

Bonjour,

Pour afficher la date d'aujourd'hui on utulise la commande date '+%Y%m%d'
pour afficher la date d'hier day-1, comment faire pour par la commande " date ".

Merci bien

1 réponse

  1. Contributeur
    hello
    ajouter -d yesterday
    0
    1. Merci dubcek
      0