how to change the date?

I have some data about the year of an event but they are reported in different ways.
for example, some of them are 93, 80, 91, and ... and some other are 1393, 1398, 1378, and ...
I want to report all of them in the same way.
NOTE: I use the Iranian calendar.

I don't think there will be an automatic way to do it, but you can probably think of a reasonable logic to perform.

event_year <- if_else(event_year < 1000, event_year + 1300, event_year)

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.