Add datetime picker functionality.