made day optional in coverring date