faker.providers.date_timeΒΆ

fake.am_pm()
# 'PM'

fake.century()
# 'VI'

fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1976-05-19'

fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2016, 6, 24)

fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2019, 7, 16)

fake.date_object(end_datetime=None)
# datetime.date(2003, 2, 26)

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

fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2010, 9, 17)

fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2015, 9, 30)

fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2019, 7, 3)

fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2019, 3, 29)

fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1996, 5, 28, 2, 20, 44)

fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(146, 1, 2, 22, 25, 10)

fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1998, 1, 26, 22, 26, 7)

fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2019, 7, 16, 21, 6, 24)

fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2006, 4, 4, 18, 41, 32)

fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2012, 12, 2, 4, 4, 3)

fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 7, 7, 1, 14, 6)

fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 5, 23, 22, 38, 16)

fake.day_of_month()
# '29'

fake.day_of_week()
# 'Thursday'

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

fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 8, 6, 0, 40, 58)

fake.iso8601(tzinfo=None, end_datetime=None)
# '1985-07-21T18:24:02'

fake.month()
# '09'

fake.month_name()
# 'January'

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

fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2019, 6, 26, 16, 43, 45)

fake.time(pattern="%H:%M:%S", end_datetime=None)
# '08:11:57'

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 0x7f79bf61f9a8>

fake.timezone()
# 'Pacific/Tongatapu'

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

fake.year()
# '2003'