faker.providers.date_timeΒΆ

fake.am_pm()
# 'PM'

fake.century()
# 'XIII'

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

fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2006, 1, 4)

fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2019, 4, 18)

fake.date_object(end_datetime=None)
# datetime.date(1990, 3, 30)

fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1951, 7, 1)

fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2008, 1, 27)

fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2013, 5, 18)

fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2019, 4, 9)

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

fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1977, 12, 22, 2, 41, 9)

fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(531, 8, 14, 21, 14, 55)

fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1990, 7, 23, 20, 44, 5)

fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2019, 4, 18, 14, 29, 2)

fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2002, 10, 28, 16, 1, 26)

fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2012, 1, 1, 1, 23, 17)

fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 4, 17, 7, 42, 51)

fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 4, 9, 16, 2, 3)

fake.day_of_month()
# '16'

fake.day_of_week()
# 'Wednesday'

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

fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 4, 24, 2, 33, 23)

fake.iso8601(tzinfo=None, end_datetime=None)
# '1993-10-07T19:44:23'

fake.month()
# '09'

fake.month_name()
# 'October'

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

fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2019, 4, 17, 13, 8, 8)

fake.time(pattern="%H:%M:%S", end_datetime=None)
# '05:44:24'

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

fake.time_object(end_datetime=None)
# datetime.time(6, 52, 33)

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

fake.timezone()
# 'America/Antigua'

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

fake.year()
# '1990'