faker.providers.date_timeΒΆ

fake.am_pm()
# 'PM'

fake.century()
# 'XXI'

fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1994-03-02'

fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1989, 12, 8)

fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2019, 11, 13)

fake.date_object(end_datetime=None)
# datetime.date(1993, 12, 11)

fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1995, 4, 6)

fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2017, 6, 29)

fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2016, 2, 6)

fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2019, 11, 5)

fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2019, 2, 24)

fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2008, 6, 27, 21, 33, 7)

fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1841, 7, 11, 14, 47, 5)

fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2013, 1, 5, 6, 2, 11)

fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2019, 11, 13, 18, 18, 10)

fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2002, 5, 29, 2, 43, 56)

fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2012, 7, 22, 22, 54, 49)

fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 11, 1, 12, 40, 6)

fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 8, 4, 21, 30, 50)

fake.day_of_month()
# '06'

fake.day_of_week()
# 'Tuesday'

fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2019, 12, 7)

fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 12, 12, 2, 46, 47)

fake.iso8601(tzinfo=None, end_datetime=None)
# '1997-12-21T08:19:35'

fake.month()
# '04'

fake.month_name()
# 'September'

fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2019, 10, 17)

fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2019, 10, 24, 0, 47, 14)

fake.time(pattern="%H:%M:%S", end_datetime=None)
# '07:18:28'

fake.time_delta(end_datetime=None)
# datetime.timedelta(0)

fake.time_object(end_datetime=None)
# datetime.time(11, 21, 13)

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

fake.timezone()
# 'Africa/Dar_es_Salaam'

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

fake.year()
# '2011'