HomeManualTopicsTypesSymbols

Date and Time

std::current_time returns the current date and time
std::date_and_time constructs a date-and-time object
std::day_of the day of a month of a date-and-time object
std::day_of_week_of the day of the week of a date-and-time object
std::from_unix_time constructs a date-and-time object from the number of seconds since the UNIX epoch
std::hour_of the hour of a date-and-time object
std::minute_of the minute of an hour of a date-and-time object
std::month_of the month of a date-and-time object
std::second_of the second of a minute of a date-and-time object
std::year_of the calendar year of a date-and-time object
std_types::date_and_time the prototype object for date-and-time objects
std_types::date_and_time/std::day_of returns the day of the month
std_types::date_and_time/std::day_of_week_of returns the month of the year
std_types::date_and_time/std::equal compares two date-and-time objects for equality
std_types::date_and_time/std::hour_of returns the hour of the day
std_types::date_and_time/std::less compares two date-and-time objects
std_types::date_and_time/std::minus subtracts a time delta or another date-and-time object from a date-and-time object
std_types::date_and_time/std::minute_of returns the minute of the hour
std_types::date_and_time/std::month_of returns the month of the year
std_types::date_and_time/std::plus adds an arbitrary time delta to a date-and-time object
std_types::date_and_time/std::second_of returns the second of the minute
std_types::date_and_time/std::time_shift_of returns the time shift of a date-and-time object
std_types::date_and_time/std::to_string returns a string representation of the date-and-time object
std_types::date_and_time/std::year_of returns the calendar year