Date.

Backwards(int) Method

Summary

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

Syntax

public static DateTime Backwards(int days = 365)

Parameters

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

Return Value

Type Description
DateTime The generated DateTime
GitHub