removed gmt_off in FromDateTime
This commit is contained in:
@@ -168,7 +168,7 @@ namespace hgl
|
|||||||
* @return 转换出的值
|
* @return 转换出的值
|
||||||
*/
|
*/
|
||||||
double FromDateTime(const int year,const int month,const int day,
|
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转换出以秒为单位的时间值
|
* 根据Date/Time转换出以秒为单位的时间值
|
||||||
|
@@ -342,7 +342,6 @@ namespace hgl
|
|||||||
double FromDateTime(const Date &d,const Time &t)
|
double FromDateTime(const Date &d,const Time &t)
|
||||||
{
|
{
|
||||||
return FromDateTime(d.GetYear(),d.GetMonth(),d.GetDay(),
|
return FromDateTime(d.GetYear(),d.GetMonth(),d.GetDay(),
|
||||||
t.GetHour(),t.GetMinute(),t.GetSecond(),t.GetMicroSecond(),
|
t.GetHour(),t.GetMinute(),t.GetSecond(),t.GetMicroSecond());
|
||||||
t.GetGMT());
|
|
||||||
}
|
}
|
||||||
}//namespace hgl
|
}//namespace hgl
|
||||||
|
Reference in New Issue
Block a user