mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-06 06:04:27 +02:00
Updated Examples and Recipes (markdown)
@@ -1,4 +1,4 @@
|
|||||||
This page contains examples and recipes contributed by community members. Feel free to add your own contributions by clicking on the "Edit" button. Please "sign" your contributions by adding a link to your GitHub profile.
|
This page contains examples and recipes contributed by community members. Feel free to add your own contributions by clicking on the "Edit" button. Please "sign" your contributions by adding a link to your GitHub profile. But please understand that your contributions will henceforth be considered donated under the Creative Commons Attribution 4.0 International License. If this requirement is a problem for anyone, bring it to Howard's attention and we will try to work out a compromise.
|
||||||
|
|
||||||
##Contents
|
##Contents
|
||||||
- [Obtaining a `time_point` from `y/m/d h:m:s` components](#time_point_to_components)
|
- [Obtaining a `time_point` from `y/m/d h:m:s` components](#time_point_to_components)
|
||||||
@@ -42,4 +42,4 @@ auto d = unsigned(ymd.day());
|
|||||||
auto h = tod.hours().count();
|
auto h = tod.hours().count();
|
||||||
auto min = tod.minutes().count();
|
auto min = tod.minutes().count();
|
||||||
auto s = tod.seconds().count();
|
auto s = tod.seconds().count();
|
||||||
```
|
```
|
Reference in New Issue
Block a user