Merge branch 'release-3.29'
[kiteware-cmake.git] / Source / cm_get_date.h
blob65722df3f59ead231ceccae2e0315b4fd67b91a6
1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
3 #pragma once
5 #include <time.h> /* NOLINT(modernize-deprecated-headers) */
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
11 /** Parse a date/time string. Treat relative times with respect to 'now'. */
12 time_t cm_get_date(time_t now, const char* str);
14 #ifdef __cplusplus
15 } /* extern "C" */
16 #endif