From 3c1f3d5fc0cc0198520f9891ac987a6b2692787a Mon Sep 17 00:00:00 2001 From: Sy Brand Date: Fri, 23 Feb 2024 14:24:58 +0000 Subject: [PATCH 1/4] Update gmtime-s-gmtime32-s-gmtime64-s.md Remove note about daylight savings time, as these functions convert from time-since-epoch to UTC, neither of which are affected by daylight savings --- .../reference/gmtime-s-gmtime32-s-gmtime64-s.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/c-runtime-library/reference/gmtime-s-gmtime32-s-gmtime64-s.md b/docs/c-runtime-library/reference/gmtime-s-gmtime32-s-gmtime64-s.md index 7db288694fa..c34faa5eeae 100644 --- a/docs/c-runtime-library/reference/gmtime-s-gmtime32-s-gmtime64-s.md +++ b/docs/c-runtime-library/reference/gmtime-s-gmtime32-s-gmtime64-s.md @@ -56,9 +56,6 @@ The first two error conditions invoke the invalid parameter handler, as describe 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. -> [!NOTE] -> 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 . - Each of the structure fields is of type **`int`**, as shown in the following table. | Field | Description | From faf183f0c084915a2dbd12fe875d98dd2df374c7 Mon Sep 17 00:00:00 2001 From: Sy Brand Date: Fri, 23 Feb 2024 14:27:21 +0000 Subject: [PATCH 2/4] Update gmtime-gmtime32-gmtime64.md --- docs/c-runtime-library/reference/gmtime-gmtime32-gmtime64.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/c-runtime-library/reference/gmtime-gmtime32-gmtime64.md b/docs/c-runtime-library/reference/gmtime-gmtime32-gmtime64.md index 4baf83e3718..00871c213ac 100644 --- a/docs/c-runtime-library/reference/gmtime-gmtime32-gmtime64.md +++ b/docs/c-runtime-library/reference/gmtime-gmtime32-gmtime64.md @@ -54,9 +54,6 @@ These functions validate their parameters. If *`sourceTime`* is a `NULL` pointer 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. -> [!NOTE] -> 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. - 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). ## Requirements From 517b0278195a4a9cd21c988ddee9240d192fe0ea Mon Sep 17 00:00:00 2001 From: Tyler Whitney Date: Fri, 23 Feb 2024 11:17:28 -0800 Subject: [PATCH 3/4] Update gmtime-gmtime32-gmtime64.md update ms.date --- docs/c-runtime-library/reference/gmtime-gmtime32-gmtime64.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/c-runtime-library/reference/gmtime-gmtime32-gmtime64.md b/docs/c-runtime-library/reference/gmtime-gmtime32-gmtime64.md index 00871c213ac..1d0656b3f72 100644 --- a/docs/c-runtime-library/reference/gmtime-gmtime32-gmtime64.md +++ b/docs/c-runtime-library/reference/gmtime-gmtime32-gmtime64.md @@ -1,7 +1,7 @@ --- title: "gmtime, _gmtime32, _gmtime64" description: "API reference for gmtime, _gmtime32, and _gmtime64, which convert a time_t value." -ms.date: "10/27/2020" +ms.date: 02/23/2024 api_name: ["_gmtime32", "gmtime", "_gmtime64", "_o__gmtime32", "_o__gmtime64"] 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"] api_type: ["DLLExport"] From 2a1a24c3ab305e5527aa4e2af7a6ed02f9d68c08 Mon Sep 17 00:00:00 2001 From: Tyler Whitney Date: Fri, 23 Feb 2024 11:18:01 -0800 Subject: [PATCH 4/4] Update gmtime-s-gmtime32-s-gmtime64-s.md update date --- .../reference/gmtime-s-gmtime32-s-gmtime64-s.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/c-runtime-library/reference/gmtime-s-gmtime32-s-gmtime64-s.md b/docs/c-runtime-library/reference/gmtime-s-gmtime32-s-gmtime64-s.md index c34faa5eeae..91517017143 100644 --- a/docs/c-runtime-library/reference/gmtime-s-gmtime32-s-gmtime64-s.md +++ b/docs/c-runtime-library/reference/gmtime-s-gmtime32-s-gmtime64-s.md @@ -1,7 +1,7 @@ --- description: "Learn more about: gmtime_s, _gmtime32_s, _gmtime64_s" title: "gmtime_s, _gmtime32_s, _gmtime64_s" -ms.date: "4/2/2020" +ms.date: 02/23/2024 api_name: ["_gmtime32_s", "gmtime_s", "_gmtime64_s", "_o__gmtime32_s", "_o__gmtime64_s"] 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"] api_type: ["DLLExport"]