here for variable vstartTime and vEndTime value is date & time in database i take data type datetime but it gives an error
error: The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.\r\nThe statement has been terminated."