/** * Helper for getting name of the day of the week. * * @note Output is translated. * * @param DateTime|int|string $time * @return string month name */ public static function monthName($time) { if (($time = self::timestamp($time)) == FALSE) { return FALSE; } return vBuilder\Utils\DateTime::monthName((int) date('n', $time)); }