摘要: This page describes code for working with Time Zones and Daylight Savings Time. Neither VBA nor VB6 provides any native functions for working with Time Zones, Greenwich Mean Time (GMT, also called UTC), or Daylight Savings Time. To work with these values, you must use some Windows Application Progra 阅读全文
posted @ 2014-01-09 10:13 Max Woods 阅读(722) 评论(0) 推荐(0) 编辑
摘要: 一、获取当前系统时区信息使用API函数GetTimeZoneInformation可以获得当前时区的相关信息,函数原型为DWORD GetTimeZoneInformation(LPTIME_ZONE_INFORMATION lpTimeZoneInformation );需要传递一个TIME_ZONE_INFORMATION结构体指针,此结构体定义为typedefstruct_TIME_ZONE_INFORMATION{LONGBias; //以分钟为单位WCHARStandardName[ 32 ];//标准时间的名称SYSTEMTIMEStandardDate;LONGStandardB 阅读全文
posted @ 2014-01-09 10:11 Max Woods 阅读(9142) 评论(0) 推荐(0) 编辑