addded getDate interface