Retrieves the era that corresponds to the specified DateTime.
time The DateTime to read.
An integer that represents the era specified in the time parameter.