put '-' in between '%d' to strip date of leading zero. not sure why this works, but thanks stackoverflow? look into why this works later