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

@param string $dateTime datetime to get the month from

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