Faker v0.8.0 Faker.DateTime

Summary

Functions

Returns a random date in the past up to N days, today not included

Returns a random DateTime.t between two DateTime.t’s

Returns a random date in the future up to N days, today not included

Functions

backward(days)
backward(integer) :: DateTime.t

Returns a random date in the past up to N days, today not included

between(from, to)

Returns a random DateTime.t between two DateTime.t’s

forward(days)
forward(integer) :: DateTime.t

Returns a random date in the future up to N days, today not included