![]() |
VOOZH | about |
months() function in R Language is used to determine the month on a specific date passed to it as argument.
Syntax: months(date, abbreviate) Parameters: date: Date to be checked abbreviate: Boolean value to abbreviate monthExample 1: Output:
[1] "2020-06-23 UTC" [1] "June"Example 2: Output:
[1] "1994-01-17 UTC" [1] "Jan"