core/time/src/year library

Functions

year({int? max, int? min = 1701}) String
Generate a random year between 1701 and the current year.