mardi 3 mars 2015

Get first day of the month


I need to get the first day of the month in this format "%y%m%d" or 150301


I can get the current day in this format:



date +"%y%m%d"


But the first day of the month is a lot trickier.


Any thoughts?



Aucun commentaire:

Enregistrer un commentaire