Retrieves translated version of month genitive string.
Description
The $month_number parameter has to be a string because it must have the ‘0’ in front of any number that is less than 10. Starts from ’01’ and ends at ’12’.
You can use an integer instead and it will add the ‘0’ before the numbers less than 10 for you.
Parameters
$month_number
string|intrequired'01'
through'12'
.
Source
public function get_month_genitive( $month_number ) {
return $this->month_genitive[ zeroise( $month_number, 2 ) ];
}
Changelog
Version | Description |
---|---|
6.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.