add get Date method