powered by
Small functions that helps to extract parts of Ethiopian date objects.
eth_year(x)eth_month(x)eth_monthname(x, lang = c("lat", "amh", "en"), abbreviate = FALSE)eth_day(x)eth_weekday(x, lang = c("lat", "amh", "en"), abbreviate = FALSE)eth_quarter(x)
eth_month(x)
eth_monthname(x, lang = c("lat", "amh", "en"), abbreviate = FALSE)
eth_day(x)
eth_weekday(x, lang = c("lat", "amh", "en"), abbreviate = FALSE)
eth_quarter(x)
a vector
a vector of an Ethiopian date object
a language. 'lat' for Amharic written in Latin alphabets, 'amh' for Amharic, and 'en' for English
Do you want to get an abbreviated month or weekday names?
Gutama Girja Urago
today <- eth_date(Sys.Date()) eth_year(today) eth_month(today) eth_monthname(today) eth_day(today) eth_weekday(today)
Run the code above in your browser using DataLab