Add datetime picker functionality