got the date working