adding datetime viewcontroller