From 747d13aadf72b1fdea49ae5a1ea7fefbfb03fc74 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Sat, 6 Aug 2016 20:58:14 -0400 Subject: [PATCH] Updated Examples and Recipes (markdown) --- Examples-and-Recipes.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Examples-and-Recipes.md b/Examples-and-Recipes.md index ffa6097..e515a1f 100644 --- a/Examples-and-Recipes.md +++ b/Examples-and-Recipes.md @@ -279,6 +279,12 @@ As I write this, the output is: 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`. + ### Obtaining a `time_point` from `y/m/d h:m:s` components (by [ecorm](https://github.com/ecorm))