I have a Applescript that builds a invoices.numbers from a csv file and saves it as a pdf.
Now i would like to save a pdf with a specific date (not the today date).
The code for saving the pdf is:
Instead of the current month I want to save it as month-2. So 2 month before the current month.
Is there any easy way to do this?
Now i would like to save a pdf with a specific date (not the today date).
The code for saving the pdf is:
Code:
set chemin_du_gros_PDF to "" & dossier_de_stockage & (do shell script "date +invoice-%Y%m") & ".pdf"
Instead of the current month I want to save it as month-2. So 2 month before the current month.
Is there any easy way to do this?