各位大侠们,小弟现在有问题了,DATE TIME为什么输入2040-2-3就报错啊,看别人说好像date time 控件只能支持到2038年,
“mktime handles dates in any time zone from midnight, January 1, 1970, to January 18, 19:14:07, 2038. ”
请问要怎么修改, 报错timecore.cpp line 40
...全文
21610打赏收藏
DATE TIME PICKER 的最大时间
各位大侠们,小弟现在有问题了,DATE TIME为什么输入2040-2-3就报错啊,看别人说好像date time 控件只能支持到2038年, “mktime handles dates in any time zone from midnight, January 1, 1970, to January 18, 19:14:07, 2038. ” 请问要怎么修改, 报错timecore.cpp line 40
error C2664: 'int __thiscall CDateTimeCtrl::SetTime(const class CTime *)' : cannot convert parameter 1 from 'class COleDateTime *' to 'const class CTime *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast