Skip to content

Commit 1fc38cd

Browse files
authored
Merge pull request #4956 from TartanLlama/patch-3
Remove DST notes from gmtime docs
2 parents 1f14921 + 2a1a24c commit 1fc38cd

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

docs/c-runtime-library/reference/gmtime-gmtime32-gmtime64.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "gmtime, _gmtime32, _gmtime64"
33
description: "API reference for gmtime, _gmtime32, and _gmtime64, which convert a time_t value."
4-
ms.date: "10/27/2020"
4+
ms.date: 02/23/2024
55
api_name: ["_gmtime32", "gmtime", "_gmtime64", "_o__gmtime32", "_o__gmtime64"]
66
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-time-l1-1-0.dll"]
77
api_type: ["DLLExport"]
@@ -54,9 +54,6 @@ These functions validate their parameters. If *`sourceTime`* is a `NULL` pointer
5454
5555
The **`_gmtime32`** function breaks down the *`sourceTime`* value and stores it in a statically allocated structure of type `tm`, defined in `TIME.H`. The value of *`sourceTime`* is typically obtained from a call to the [`time`](time-time32-time64.md) function.
5656
57-
> [!NOTE]
58-
> In most cases, the target environment tries to determine whether daylight savings time is in effect. The C run-time library assumes that the United States rules for implementing the calculation of Daylight Saving Time (DST) are used.
59-
6057
By default, this function's global state is scoped to the application. To change this behavior, see [Global state in the CRT](../global-state.md).
6158
6259
## Requirements

docs/c-runtime-library/reference/gmtime-s-gmtime32-s-gmtime64-s.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: "Learn more about: gmtime_s, _gmtime32_s, _gmtime64_s"
33
title: "gmtime_s, _gmtime32_s, _gmtime64_s"
4-
ms.date: "4/2/2020"
4+
ms.date: 02/23/2024
55
api_name: ["_gmtime32_s", "gmtime_s", "_gmtime64_s", "_o__gmtime32_s", "_o__gmtime64_s"]
66
api_location: ["msvcrt.dll", "msvcr80.dll", "msvcr90.dll", "msvcr100.dll", "msvcr100_clr0400.dll", "msvcr110.dll", "msvcr110_clr0400.dll", "msvcr120.dll", "msvcr120_clr0400.dll", "ucrtbase.dll", "api-ms-win-crt-time-l1-1-0.dll"]
77
api_type: ["DLLExport"]
@@ -56,9 +56,6 @@ The first two error conditions invoke the invalid parameter handler, as describe
5656

5757
The **`_gmtime32_s`** function breaks down the *`sourceTime`* value and stores it in a structure of type `tm`, defined in `Time.h`. The address of the structure is passed in *`tmDest`*. The value of *`sourceTime`* is often obtained from a call to the [`time`](time-time32-time64.md) function.
5858

59-
> [!NOTE]
60-
> The target environment should try to determine whether daylight savings time is in effect. The C run-time library assumes the United States rules for implementing the calculation of daylight saving time .
61-
6259
Each of the structure fields is of type **`int`**, as shown in the following table.
6360

6461
| Field | Description |

0 commit comments

Comments
 (0)