Date.

Forward(int) Method

Summary

Generates a random DateTime between System.DateTime.Today and number of days into the future.
Namespace
Faker
Containing Type
Date

Syntax

public static DateTime Forward(int days = 365)

Parameters

Name Type Description
days int The number of days to calculate the maximum date.

Return Value

Type Description
DateTime The generated DateTime
GitHub