string to date object

Sample below is to find snapshots older than 60 days and delete them.