A simple parser that converts date and time strings into Date object