mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-06 06:04:27 +02:00
Updated Examples and Recipes (markdown)
@@ -249,7 +249,7 @@ These are all reasonable answers to the question, and all easily computable with
|
|||||||
### 2Gs Birthday
|
### 2Gs Birthday
|
||||||
(by [Howard Hinnant](https://github.com/HowardHinnant))
|
(by [Howard Hinnant](https://github.com/HowardHinnant))
|
||||||
|
|
||||||
This example demonstrates both some simple date arithmetic, and how to handle discontinuities in a timezone. Dave was born in the "America/Los_Angeles" timezone at 10:03am on April 24, 1954. When will he be 2,000,000,000 seconds old (in the same timezone?
|
This example demonstrates both some simple date arithmetic, and how to handle discontinuities in a timezone. Dave was born in the "America/Los_Angeles" timezone at 10:03am on April 24, 1954. When will he be 2,000,000,000 seconds old in the same timezone?
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
Reference in New Issue
Block a user