operator=()

DateTime::operator=(const DateTime&) method

Assigns the value represented by the specified DateTime instance to the current object.

DateTime & System::DateTime::operator=(const DateTime &dt)=default

Arguments

ParameterTypeDescription
dtconst DateTime&An instance of DateTime class to copy the represented date and time value from

Return Value

A reference to the self

See Also