src/POData/Providers/Metadata/Type/DateTime.php
/**
     * Gets day from datetime
     * 
     * @param string $dateTime datetime to get the day from
     * 
     * @return int
     */
Gets day from datetime

@param string $dateTime datetime to get the day from

@return int
Gets day from datetime @param string $dateTime datetime to get the day from @return int
public static function day($dateTime)
    {
        $date = new \DateTime($dateTime);
        return $date->format("d");
    }
public static function day ( $ dateTime ) { $ date = new \ DateTime ( $ dateTime ) ; return $ date -> format ( " d " ) ; }
Gets day from datetime
Gets day from datetime