Summary
Generates a random
DateTime
between the specified
maxAge and minAge.
Syntax
public static DateTime Birthday(int minAge = 18, int maxAge = 65)
Parameters
Name | Type | Description |
---|---|---|
minAge | int | The minimum years into the past. |
maxAge | int | The maximum years into the past. |
Return Value
Type | Description |
---|---|
DateTime | The generated DateTime |