src/ORM/FieldType/DBTime.php
public function Format($format)
    {
        if (!$this->value) {
            return null;
        }
        $formatter = $this->getFormatter();
        $formatter->setPattern($format);
        return $formatter->format($this->getTimestamp());
    }
public function Format($format)
    {
        if (!$this->value) {
            return null;
        }
        $formatter = $this->getFormatter();
        $formatter->setPattern($format);
        return $formatter->format($this->getTimestamp());
    }
public function Format ( $ format ) { if ( ! $ this -> value ) { return null ; } $ formatter = $ this -> getFormatter ( ) ; $ formatter -> setPattern ( $ format ) ; return $ formatter -> format ( $ this -> getTimestamp ( ) ) ; }
Return the time using a particular formatting string.

@param string $format Format code string. See http://userguide.icu-project.org/formatparse/datetime
@return string The time in the requested format
Return the time using a particular formatting string .