faker.providers.date_timeΒΆ

fake.am_pm()
# 'AM'

fake.century()
# 'XVII'

fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1982-07-07'

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

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

fake.date_object(end_datetime=None)
# datetime.date(1970, 4, 24)

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

fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2005, 4, 1)

fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2010, 1, 30)

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

fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2019, 6, 30)

fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2012, 3, 19, 6, 0, 38)

fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(901, 12, 26, 1, 7, 49)

fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2008, 1, 29, 5, 20, 58)

fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2019, 9, 18, 13, 28, 34)

fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2008, 3, 22, 8, 28, 27)

fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 5, 27, 2, 15, 18)

fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 9, 6, 1, 0, 46)

fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 1, 7, 23, 5, 25)

fake.day_of_month()
# '05'

fake.day_of_week()
# 'Monday'

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

fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 9, 30, 7, 8, 8)

fake.iso8601(tzinfo=None, end_datetime=None)
# '2007-02-27T21:56:30'

fake.month()
# '01'

fake.month_name()
# 'May'

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

fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2019, 8, 30, 20, 39, 11)

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

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

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

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

fake.timezone()
# 'Africa/Johannesburg'

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

fake.year()
# '1987'