mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-05 21:54:27 +02:00
Updated Examples and Recipes (markdown)
@@ -279,6 +279,12 @@ As I write this, the output is:
|
|||||||
|
|
||||||
2016f
|
2016f
|
||||||
|
|
||||||
|
If the remote API is enabled ([`HAS_REMOTE_API == 1`](https://howardhinnant.github.io/date/tz.html#Installation)) then you can also query the latest version number at the IANA website with:
|
||||||
|
|
||||||
|
std::cout << date::remote_version() << '\n';
|
||||||
|
|
||||||
|
which currently outputs `2016f`.
|
||||||
|
|
||||||
<a name="time_point_to_components"></a>
|
<a name="time_point_to_components"></a>
|
||||||
### Obtaining a `time_point` from `y/m/d h:m:s` components
|
### Obtaining a `time_point` from `y/m/d h:m:s` components
|
||||||
(by [ecorm](https://github.com/ecorm))
|
(by [ecorm](https://github.com/ecorm))
|
||||||
|
Reference in New Issue
Block a user