prg_date_utc_compute()

摘要

获取与指定时区中的日期和时间所对应的 UTC 时间。

语法

prg_date_utc_compute (hour, minute, sec, day, month, year, timezone)
参数 类型 说明
hour int 小时(0–23)。
minute int 分钟(0–59)。
sec int 秒(0–59)。
day int 月内日(1–31)。
month int 月份(1–12)。
year int 年份(>= 1970)
timezone PrgT_Timezone_Name 目标时区;为 Date Package 符号常量 所列符号常量之一。

返回类型

PrgT_Date

所请求的日期;若不成功则返回 PRGC_DATE_VALUE_UNDEFINED。

头文件

prg_date.h

详情

无。

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com