mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-05 05:34: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
|
||||
(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 <iostream>
|
||||
|
Reference in New Issue
Block a user