src/Common/Service/DateTime.php
public function toNailsDate($mTimestamp = null)
    {
        $oConverted = static::convert($mTimestamp, $this->sTimezoneNails, $this->sTimezoneUser);

        if (is_null($oConverted)) {
            return null;
        }

        return $oConverted->format('Y-m-d');
    }
public function toNailsDate($mTimestamp = null)
    {
        $oConverted = static::convert($mTimestamp, $this->sTimezoneNails, $this->sTimezoneUser);

        if (is_null($oConverted)) {
            return null;
        }

        return $oConverted->format('Y-m-d');
    }
public function toNailsDate ( $ mTimestamp = null ) { $ oConverted = static :: convert ( $ mTimestamp , $ this -> sTimezoneNails , $ this -> sTimezoneUser ) ; if ( is_null ( $ oConverted ) ) { return null ; } return $ oConverted -> format ( 'Y-m-d' ) ; }
Convert a date timestamp to the Nails timezone from the User's timezone, formatted as Y-m-d

@param mixed $mTimestamp The timestamp to convert

@return string|null
Convert a date timestamp to the Nails timezone from the User s timezone formatted as Y - m - d