src/Helper.php
public static function loadDateTimeCell($sDateTime, $sNoData = '&mdash;')
    {
        $aData = [
            'dateTime' => $sDateTime,
            'noData'   => $sNoData,
        ];

        $oView = Factory::service('View');
        return $oView->load('admin/_components/table-cell-datetime', $aData, true);
    }
public static function loadDateTimeCell($sDateTime, $sNoData = '&mdash;')
    {
        $aData = [
            'dateTime' => $sDateTime,
            'noData'   => $sNoData,
        ];

        $oView = Factory::service('View');
        return $oView->load('admin/_components/table-cell-datetime', $aData, true);
    }
Load the admin "dateTime" table cell component

@param  string $sDateTime The dateTime to render
@param  string $sNoData   What to render if the datetime is invalid or empty

@return string
@throws \Nails\Common\Exception\FactoryException