Add getElementByDate method