Jyxo\Time\Time::__toString PHP Method

__toString() public method

Returns date/time in the unix timestamp format.
public __toString ( ) : string
return string Returns empty string if the stored date/time has no valid UT representation
    public function __toString() : string
    {
        return (string) $this->dateTime->getTimestamp();
    }