Implemented relative dates in the menu