faker.providers.date_timeΒΆ

fake.am_pm()
# 'AM'

fake.century()
# 'VI'

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

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

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

fake.date_object(end_datetime=None)
# datetime.date(1976, 9, 29)

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

fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2008, 3, 6)

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

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

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

fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2006, 4, 7, 7, 16, 23)

fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1900, 11, 30, 23, 46, 37)

fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2000, 6, 5, 22, 57, 13)

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

fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2005, 5, 1, 9, 13, 39)

fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2010, 2, 15, 12, 13, 16)

fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 7, 15, 2, 8, 34)

fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 2, 28, 23, 39, 1)

fake.day_of_month()
# '09'

fake.day_of_week()
# 'Wednesday'

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

fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 8, 6, 11, 17, 23)

fake.iso8601(tzinfo=None, end_datetime=None)
# '1996-03-17T03:33:16'

fake.month()
# '12'

fake.month_name()
# 'July'

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

fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2019, 7, 1, 10, 13, 18)

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

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

fake.time_object(end_datetime=None)
# datetime.time(14, 40, 52)

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

fake.timezone()
# 'America/St_Lucia'

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

fake.year()
# '2013'