get info from a date