source/CommonCode.php
public function getTimestamp($returnType = 'string')
    {
        if (in_array($returnType, ['array', 'float', 'string'])) {
            return $this->getTimestampRaw($returnType);
        }
        return sprintf($this->lclMsgCmn('i18n_Error_UnknownReturnType'), $returnType);
    }
public function getTimestamp($returnType = 'string')
    {
        if (in_array($returnType, ['array', 'float', 'string'])) {
            return $this->getTimestampRaw($returnType);
        }
        return sprintf($this->lclMsgCmn('i18n_Error_UnknownReturnType'), $returnType);
    }
public function getTimestamp ( $ returnType = 'string' ) { if ( in_array ( $ returnType , [ 'array' , 'float' , 'string' ] ) ) { return $ this -> getTimestampRaw ( $ returnType ) ; } return sprintf ( $ this -> lclMsgCmn ( 'i18n_Error_UnknownReturnType' ) , $ returnType ) ; }
Returns server Timestamp into various formats

@param string $returnType
@return string
Returns server Timestamp into various formats