Functions.ConDateTime 方法 | |
Format a set of numbers representing a year, month, and day as a Date.
命名空间:
XSharp.Core
程序集:
XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法 FUNCTION ConDateTime(
dwY AS DWORD,
dwM AS DWORD,
dwDay AS DWORD
) AS DateTime
public static DateTime ConDateTime(
uint dwY,
uint dwM,
uint dwDay
)
查看代码参数
- dwY
- 类型:UInt32
A valid year. If the century digits are not specified, the century is determined by the rules of SetEpoch(). - dwM
- 类型:UInt32
A number from 1 through 12 representing a valid month. - dwDay
- 类型:UInt32
A number representing a valid day of dwMonth.
返回值
类型:
DateTimeThe date that corresponds to the passed arguments. If any of the arguments specified do not represent a valid year, month, or day, a DateTime.MinValue is returned.
参见