Get the components of date