implements Date Grid based on timestamp