# TimeZoneConver 方法
TimeZoneConver(timeDate,Type)
 保存数据到指定品种
返回值:返回1成功 0表示失败。
参数
 | 参数 | 说明 | 
|---|---|
| timeDate | 指定要转换的时间 | 
| Type | 时间转换类型  0表示 北京时间转金字塔时区时间 1表示 金字塔时区时间转北京时间  | 
示例
 Sub test()
    
    '取上期夜盘市场市场信息
    Set MarketInfo = marketdata.GetMarketInfo("AG","SY") 
    '将当前计算机是转换成上期夜盘市场时区
    Application.MsgOut MarketInfo.TimeZoneConver(Now,0) 
 
end sub
 1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
应用于