//使用的是skyline datime接口
//首先设置datetime的mode
//帮助里的解释Always use a fixed time that can be set using the
IProject61.
Settings.property.
SGWorld.DateTime.SetMode(2);
//javascript活动当日期
var myDate = new Date();
var dataHours = myDate.getHours();
var myDate = new Date();
var dataHours = myDate.getHours();
//设置skyline的时间
SGWorld.DateTime.Current = myDate;
SGWorld.DateTime.Current = myDate;
转载于:https://blog.51cto.com/speciallist/1103464