use 2 dimentional array to store date and time information