return date object in archive date instead of string