# SystemTime

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SystemTime/

Specifies a date and time. Corresponds to Windows type SYSTEMTIME (https://msdn.microsoft.com/en-us/f77cdf86-0f97-4a89-b565-95b46fa7d65b).

- **Full name:** `MFiles.SystemTime`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-year"></a>`year` | `uint32` | 1 | The year. The valid values are 1601 through 30827. |
| <a id="f-month"></a>`month` | `uint32` | 2 | The month. The valid values are 1 through 12. |
| <a id="f-day_of_week"></a>`day_of_week` | `uint32` | 3 | The day of the week. The valid values are 0 through 6, starting with Sunday. |
| <a id="f-day"></a>`day` | `uint32` | 4 | The day of the month. The valid values are 1 through 31. |
| <a id="f-hour"></a>`hour` | `uint32` | 5 | The hour. The valid values are 0 through 23. |
| <a id="f-minute"></a>`minute` | `uint32` | 6 | The minute. The valid values are 0 through 59. |
| <a id="f-second"></a>`second` | `uint32` | 7 | The second. The valid values are 0 through 59. |
| <a id="f-milliseconds"></a>`milliseconds` | `uint32` | 8 | The millisecond. The valid values are 0 through 999. |

<a id="used-in-fields"></a>

## Used in fields

- [`TimeZoneInformation.standard_date`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.TimeZoneInformation/index.md#f-standard_date): The local date and time when the transition from daylight saving time to standard time occurs.
- [`TimeZoneInformation.daylight_date`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.TimeZoneInformation/index.md#f-daylight_date): The local date and time when the transition from standard time to daylight saving time occurs.
