faker.providers.date_timeΒΆ

fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2015, 7, 18)

fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7f5a9479ee08>

fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1998, 8, 12)

fake.date_object(end_datetime=None)
# datetime.date(1976, 4, 10)

fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 12, 23, 17, 2, 56)

fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 10, 4)

fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 21)

fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 9, 1)

fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 10, 2, 4, 49, 51)

fake.iso8601(tzinfo=None, end_datetime=None)
# '1986-12-02T16:04:52'

fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 9, 8, 3, 35, 11)

fake.time(pattern="%H:%M:%S", end_datetime=None)
# '17:30:47'

fake.time_object(end_datetime=None)
# datetime.time(5, 28, 5)

fake.year()
# '2005'

fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2016, 2, 17, 0, 29, 50)

fake.time_delta(end_datetime=None)
# datetime.timedelta(8394, 64118)

fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2007, 7, 14, 11, 12, 53)

fake.month_name()
# 'September'

fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1991, 1, 11, 8, 24, 56)

fake.am_pm()
# 'AM'

fake.timezone()
# 'America/La_Paz'

fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1993, 5, 29)

fake.century()
# 'VI'

fake.unix_time(end_datetime=None, start_datetime=None)
# 857084739

fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 6, 23)

fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 9, 20, 14, 34, 21)

fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 9, 13, 15, 30, 26)

fake.month()
# '11'

fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2015, 2, 5)

fake.day_of_week()
# 'Wednesday'

fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(216, 9, 19, 19, 32, 22)

fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 7, 27, 0, 44, 17)

fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2018, 9, 20)

fake.day_of_month()
# '16'

fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1975-12-21'