Utils_OtherGetRandomDay Method |
Gets a random day.
Namespace:
MicaSystems.Utils
Assembly:
MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax public static DateTime GetRandomDay(
Nullable<DateTime> minDate = null,
Nullable<DateTime> maxDate = null,
Random rand = null
)
Parameters
- minDate (Optional)
- Type: SystemNullableDateTime
Optional start date. Default is 1/1/1970. - maxDate (Optional)
- Type: SystemNullableDateTime
Optional end date. Default is 1/1/2100. - rand (Optional)
- Type: SystemRandom
Optional random generator.
Return Value
Type:
DateTimeRandom day in a DateTime value.
See Also