apply date fetch value function