但,我使用此值作为参数调用c库函数localtime,所返回的tm结构包含了正确的创建时间。
在MSDN中查看localtime函数介绍中,有此段信息:The localtime function converts a time stored as a time_t value and stores the result in a structure of type tm. The long value timer represents the seconds elapsed since midnight (00:00:00), January 1, 1970, coordinated universal time (UTC).