faker.providers.date_timeΒΆ

fake.am_pm()
# 'PM'

fake.century()
# 'XIX'

fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1993-11-28'

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

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

fake.date_object(end_datetime=None)
# datetime.date(1993, 8, 20)

fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1995, 8, 21)

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

fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2015, 1, 7)

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

fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2019, 4, 12)

fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1986, 3, 28, 10, 29, 38)

fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(410, 3, 29, 16, 22, 43)

fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2012, 4, 1, 22, 21, 44)

fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2019, 9, 17, 16, 59, 55)

fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2000, 5, 25, 4, 59, 14)

fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2016, 10, 28, 17, 2, 20)

fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 9, 3, 7, 26, 28)

fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 3, 29, 16, 8, 17)

fake.day_of_month()
# '01'

fake.day_of_week()
# 'Sunday'

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

fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 10, 14, 3, 18, 18)

fake.iso8601(tzinfo=None, end_datetime=None)
# '1980-01-20T19:08:04'

fake.month()
# '04'

fake.month_name()
# 'September'

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

fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2019, 8, 30, 21, 56)

fake.time(pattern="%H:%M:%S", end_datetime=None)
# '03:09:56'

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

fake.time_object(end_datetime=None)
# datetime.time(11, 50, 46)

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

fake.timezone()
# 'Asia/Oral'

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

fake.year()
# '1994'