add datetimepicker in api.js, and wrap div datetimepicker with date class