Does anyone know why this doesn't work?

{
CTime theTime;
theTime=CTime::GetCurrentTime();
m_time=theTime;
}
m_time is a variable from an edit box in my dialog. I am having trouble getting it to set theTime equal to m_time. Please help, the error message is listed below. (I have tried making m_time a CString or an int, but nothing seems to work.)

error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class CTime' (or there is no acceptable conversion)

Thanks for everything.