faker.providers.date_timeΒΆ

fake.am_pm()
# 'PM'

fake.century()
# 'XIV'

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

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

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

fake.date_object(end_datetime=None)
# datetime.date(1981, 7, 14)

fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1920, 9, 16)

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

fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2014, 7, 26)

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

fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2019, 5, 22)

fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2011, 1, 2, 19, 35, 36)

fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1935, 4, 15, 12, 26, 19)

fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2018, 2, 6, 11, 30, 3)

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

fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2013, 7, 27, 15, 39, 47)

fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 9, 30, 23, 58, 35)

fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 9, 16, 5, 11, 36)

fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 4, 28, 2, 57, 31)

fake.day_of_month()
# '06'

fake.day_of_week()
# 'Saturday'

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

fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 9, 18, 14, 58, 36)

fake.iso8601(tzinfo=None, end_datetime=None)
# '1971-08-18T20:32:47'

fake.month()
# '05'

fake.month_name()
# 'July'

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

fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2019, 8, 26, 17, 46, 53)

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

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

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

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

fake.timezone()
# 'Europe/Brussels'

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

fake.year()
# '1975'