diff --git a/inc/hgl/type/DateTime.h b/inc/hgl/type/DateTime.h index 50034d0..80b014c 100644 --- a/inc/hgl/type/DateTime.h +++ b/inc/hgl/type/DateTime.h @@ -168,7 +168,7 @@ namespace hgl * @return 转换出的值 */ double FromDateTime(const int year,const int month,const int day, - const int hour,const int minute=0,const int second=0,const int micro_second=0,const int gmt_off=0); + const int hour,const int minute=0,const int second=0,const int micro_second=0); /** * 根据Date/Time转换出以秒为单位的时间值 diff --git a/src/Time/DateTime.cpp b/src/Time/DateTime.cpp index f278240..c0a75bc 100644 --- a/src/Time/DateTime.cpp +++ b/src/Time/DateTime.cpp @@ -342,7 +342,6 @@ namespace hgl double FromDateTime(const Date &d,const Time &t) { return FromDateTime(d.GetYear(),d.GetMonth(),d.GetDay(), - t.GetHour(),t.GetMinute(),t.GetSecond(),t.GetMicroSecond(), - t.GetGMT()); + t.GetHour(),t.GetMinute(),t.GetSecond(),t.GetMicroSecond()); } }//namespace hgl