TIME_OF_DAY_INFO
The TIME_OF_DAY_INFO structure contains information about the time of day from a remote server.
typedef struct _TIME_OF_DAY_INFO {
DWORD tod_elapsedt;
DWORD tod_msecs;
DWORD tod_hours;
DWORD tod_mins;
DWORD tod_secs;
DWORD tod_hunds;
LONG tod_timezone;
DWORD tod_tinterval;
DWORD tod_day;
DWORD tod_month;
DWORD tod_year;
DWORD tod_weekday;
} TIME_OF_DAY_INFO, *PTIME_OF_DAY_INFO, *LPTIME_OF_DAY_INFO;
Members
- tod_elapsedt
- Specifies a DWORD value that contains the number of seconds since 00:00:00, January 1, 1970, GMT.
- tod_msecs
- Specifies a DWORD value that contains the number of milliseconds from an arbitrary starting point (system reset).
Typically, this member is read twice, once when the process begins and again at the end. To determine the elapsed time between the process's start and finish, you can subtract the first value from the second.
- tod_hours
- Specifies a DWORD value that contains the current hour. Valid values are 0 through 23.
- tod_mins
- Specifies a DWORD value that contains the current minute. Valid values are 0 through 59.
- tod_secs
- Specifies a DWORD value that contains the current second. Valid values are 0 through 59.
- tod_hunds
- Specifies a DWORD value that contains the current hundredth second (0.01 second). Valid values are 0 through 99.
- tod_timezone
- Specifies the time zone of the server. This value is calculated, in minutes, from Greenwich Mean Time (GMT). For time zones west of Greenwich, the value is positive; for time zones east of Greenwich, the value is negative. A value of –1 indicates that the time zone is undefined.
- tod_tinterval
- Specifies a DWORD value that contains the time interval for each tick of the clock. Each integral integer represents one ten-thousandth second (0.0001 second).
- tod_day
- Specifies a DWORD value that contains the day of the month. Valid values are 1 through 31.
- tod_month
- Specifies a DWORD value that contains the month of the year. Valid values are 1 through 12.
- tod_year
- Specifies a DWORD value that contains the year.
- tod_weekday
- Specifies a DWORD value that contains the day of the week. Valid values are 0 through 6, where 0 is Sunday, 1 is Monday, and so on.
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Unsupported.
Header: Declared in Lmremutl.h.
See Also
Network Management Overview, Network Management Structures, Remote Utility functions, NetRemoteTOD