Thank you. I have the date formatting correctly but I cannot get the previous date to calculate like I can in other languages. Similar to DateAdd('d', -1, Date()). this calculates yesterday or n days in the past. Everything I can find about AutoIt _DateAdd refers to adding a date, not subtracting a date. Is it possible to subtract a date from a given date?