code: private function getDateTime($argument)
      {
          $datetimeValue = $argument['datetimeValue'];
  
          $year = $datetimeValue['date']['year'];
          $month = $datetimeValue['date']['month'];
          $day = $datetimeValue['date']['day'];
  
          $hours = $datetimeValue['time']['hours'];
          $minutes = isset($datetimeValue['time']['minutes']) ? $datetimeValue['time']['minutes'] : 0;
  
          return Carbon::create($year, $month, $day, $hours, $minutes, 0);
      }
docs: Get datetime argument.
  
  @param array $argument
  
  @return Carbon\Carbon