Windows API Guide: SHFILEINFO Structure


Type SYSTEMTIME   wYear As Integer   wMonth As Integer   wDayOfWeek As Integer   wDay As Integer   wHour As Integer   wMinute As Integer   wSecond As Integer   wMilliseconds As Integer End Type

Description & Usage

The SYSTEMTIME structure holds a date and time in an easily usable format. The structure is able to hold times precise to the millisecond, even though that information may not always be used.

Sometimes, the SYSTEMTIME structure is used not to hold a "regular" date and time but to hold a shifting one (such as the 1st Sunday in January or the 3rd Thursday of June). When this is used (usually when holding information relating to a time zone), wYear is always 0. wDay specifies which day, ranging from 1 (1st day) to 5 (5th or last day). wDayOfWeek identifies the precise day of the week.

Visual Basic-Specific Issues

None.

Data Members

wYear
The four-digit year.
wMonth
The number identifying the month (1 = January, 2 = February, etc.).
wDayOfWeek
The number identifying the day of the week (0 = Sunday, 1 = Monday, etc.).
wDay
The number of the day of the month.
wHour
The hour, in twenty-four hour format.
wMinute
The minutes.
wSecond
The seconds.
wMilliseconds
The milliseconds.

Used By:

FileTimeToSystemTime, GetDateFormat, GetLocalTime, GetSystemTime, GetTimeFormat, JOB_INFO_1, JOB_INFO_2, SetSystemTime, SystemTimeToFileTime, TIME_ZONE_INFORMATION

Go back to the alphabetical Structure listing.
Go back to the Reference section index.


Last Modified: January 3, 2000
This page is copyright © 2000 Paul Kuliniewicz. Copyright Information Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/s/systemtime.html



Windows API Guide
Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
ISBN: B001V0KQIY
EAN: N/A
Year: 1998
Pages: 610

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net