SYSTEMTIME 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
type SYSTEMTIME = class
Public Class SYSTEMTIME
继承
SYSTEMTIMESYSTEMTIMESYSTEMTIMESYSTEMTIME

构造函数

SYSTEMTIME() SYSTEMTIME() SYSTEMTIME() SYSTEMTIME()

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

属性

day day day day

获取一个值, 该值指定当月的当前日期。Gets a value that specifies the current day of the month.

dayOfWeek dayOfWeek dayOfWeek dayOfWeek

获取一个值, 该值指定一周中的当前日期。Gets a value that specifies the current day of the week.

hour hour hour hour

获取一个值, 该值指定当前小时。Gets a value that specifies the current hour.

milliseconds milliseconds milliseconds milliseconds

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

minute minute minute minute

获取一个值, 该值指定当前分钟。Gets a value that specifies the current minute.

month month month month

获取一个值, 该值指定当前月份。Gets a value that specifies the current month.

second second second second

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

year year year year

获取一个值, 该值指定当月的当前日期。Gets a value that specifies the current day of the month.

适用于