separated datetime to date and time