System::DateTime::operator= method

DateTime::operator= method

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

DateTime & System::DateTime::operator=(const DateTime &dt)=default
ParameterTypeDescription
dtconst DateTime&An instance of DateTime class to copy the represented date and time value from

ReturnValue

A reference to the self

See Also