Click or drag to resize

RandomizerNext Method (DateTime, DateTime)

Returns a random DateTime between two dates.

Namespace:  Cauldron
Assembly:  Cauldron.Randomizer (in Cauldron.Randomizer.dll) Version: 3.2.0.2
Syntax
public static DateTime Next(
	DateTime from,
	DateTime to
)

Parameters

from
Type: SystemDateTime
The inclusive lower bound of the random date returned.
to
Type: SystemDateTime
The exclusive upper bound of the random date to be generated.

Return Value

Type: DateTime
A random date
See Also