faker.providers.date_timeΒΆ

fake.am_pm()
# 'AM'

fake.century()
# 'X'

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

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

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

fake.date_object(end_datetime=None)
# datetime.date(1992, 8, 21)

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

fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2016, 7, 10)

fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2013, 11, 26)

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

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

fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2014, 11, 15, 18, 27, 59)

fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(126, 1, 26, 0, 32, 41)

fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2014, 8, 12, 1, 28)

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

fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2000, 9, 26, 12, 28, 34)

fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 11, 16, 7, 47, 44)

fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 4, 4, 10, 58, 13)

fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 4, 18, 12, 11, 18)

fake.day_of_month()
# '03'

fake.day_of_week()
# 'Monday'

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

fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 5, 4, 22, 11, 1)

fake.iso8601(tzinfo=None, end_datetime=None)
# '1994-11-10T06:56:23'

fake.month()
# '01'

fake.month_name()
# 'August'

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

fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2019, 3, 24, 19, 41, 50)

fake.time(pattern="%H:%M:%S", end_datetime=None)
# '06:58:41'

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

fake.time_object(end_datetime=None)
# datetime.time(15, 19, 9)

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

fake.timezone()
# 'Asia/Ashgabat'

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

fake.year()
# '2016'