Introducing eth2grecal, a niche Stata module that converts Ethiopian calendar dates to Gregorian calendar dates. Thanks to Kit Baum, eth2grecal is available from SSC for Stata version #16 and higher. As usual, you can install it by typing ssc install eth2grecal in Stata.
The conversion is accurate for Ethiopian calendar dates within the Gregorian year range of 1901-2099 and correctly handles leap years in both calendars. For more details, type help eth2grecal in Stata after the installation. Here’s a quick illustration of how it works:
Suppose you have a dataset with Ethiopian calendar date variables named "e_year", "e_month", and "e_day". To convert these dates to the Gregorian calendar, you would use the following command:
The command will create three new variables in your dataset: "g_year", "g_month", and "g_day", which represent the Gregorian year, month, and day, respectively.
Happy time travelling.
The conversion is accurate for Ethiopian calendar dates within the Gregorian year range of 1901-2099 and correctly handles leap years in both calendars. For more details, type help eth2grecal in Stata after the installation. Here’s a quick illustration of how it works:
Suppose you have a dataset with Ethiopian calendar date variables named "e_year", "e_month", and "e_day". To convert these dates to the Gregorian calendar, you would use the following command:
Code:
eth2grecal, et_year(e_year) et_month(e_month) et_day(e_day)
The command will create three new variables in your dataset: "g_year", "g_month", and "g_day", which represent the Gregorian year, month, and day, respectively.
Happy time travelling.