add functions for inserting date and time