Add getDate to fetch date fields in days from 1970-01-01