date Module
Generate random date-related data.
-
forgery_py.forgery.date.day_of_week(abbr=False)[source]
Random (abbreviated if abbr) day of week name.
-
forgery_py.forgery.date.month(abbr=False, numerical=False)[source]
Random (abbreviated if abbr) month name or month number if
numerical.
-
forgery_py.forgery.date.year(past=False, min_delta=0, max_delta=20)[source]
Random year.
-
forgery_py.forgery.date.day(month_length=31)[source]
Random day number in a month_length days long month.
-
forgery_py.forgery.date.date(past=False, min_delta=0, max_delta=20)[source]
Random datetime.date object. Delta args are days.