fucntionality for load dates in table