SYSTEMTIME SYSTEMTIME SYSTEMTIME Class

定义

表示使用月、日、年、工作日、时、分、秒和毫秒作为各个部分的日期和时间。 Represents a date and time using individual members for the month, day, year, weekday, hour, minute, second, and millisecond.

public ref class SYSTEMTIME
public class SYSTEMTIME
Public Class SYSTEMTIME
继承
SYSTEMTIMESYSTEMTIMESYSTEMTIME

构造函数

SYSTEMTIME() SYSTEMTIME() SYSTEMTIME()

初始化 SYSTEMTIME 类的新实例。 Initializes a new instance of the SYSTEMTIME class.

属性

day day day

获取指定当天是月中几号的值。 Gets a value that specifies the current day of the month.

dayOfWeek dayOfWeek dayOfWeek

获取指定当天是星期几的值。 Gets a value that specifies the current day of the week.

hour hour hour

获取指定当前是几点钟的值。 Gets a value that specifies the current hour.

milliseconds milliseconds milliseconds

获取指定当前毫秒数的值。 Gets a value that specifies the current milliseconds.

minute minute minute

获取指定当前是几分的值。 Gets a value that specifies the current minute.

month month month

获取指定当前月份的值。 Gets a value that specifies the current month.

second second second

获取指定当前是几秒的值。 Gets a value that specifies the current second.

year year year

获取指定当天是月中几号的值。 Gets a value that specifies the current day of the month.

适用于