faker.providers.date_timeΒΆ

fake.am_pm()
# 'AM'

fake.century()
# 'XI'

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

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

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

fake.date_object(end_datetime=None)
# datetime.date(2016, 12, 3)

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

fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2014, 6, 7)

fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2015, 2, 14)

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

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

fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1998, 7, 5, 9, 34, 23)

fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(392, 5, 1, 8, 2, 13)

fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1992, 5, 25, 9, 56, 6)

fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2019, 7, 16, 14, 11, 37)

fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2001, 5, 22, 6, 1, 32)

fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2014, 1, 28, 4, 41, 8)

fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 7, 4, 18, 26, 25)

fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 6, 10, 8, 37, 14)

fake.day_of_month()
# '01'

fake.day_of_week()
# 'Monday'

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

fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 7, 26, 11, 12, 45)

fake.iso8601(tzinfo=None, end_datetime=None)
# '1971-10-10T10:44:59'

fake.month()
# '10'

fake.month_name()
# 'August'

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

fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2019, 7, 9, 16, 30, 6)

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

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

fake.time_object(end_datetime=None)
# datetime.time(16, 4, 15)

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

fake.timezone()
# 'Europe/Luxembourg'

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

fake.year()
# '1994'