"Signed" my examples

Emile Cormier
2015-07-30 16:29:20 -03:00
parent 38ad769c5e
commit 95caec68ef

@@ -1,3 +1,5 @@
This page contains examples and recipes contributed by community members.
##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)
- [Obtaining `y/m/d h:m:s` components from a `time_point`](#components_to_time_point) - [Obtaining `y/m/d h:m:s` components from a `time_point`](#components_to_time_point)
@@ -6,6 +8,8 @@
<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))
See http://stackoverflow.com/questions/31711782. See http://stackoverflow.com/questions/31711782.
```c++ ```c++
@@ -22,6 +26,7 @@ system_clock::time_point = day_point(ymd) +
<a name="components_to_time_point"> <a name="components_to_time_point">
### Obtaining `y/m/d h:m:s` components from a `time_point` ### Obtaining `y/m/d h:m:s` components from a `time_point`
(by [ecorm](https://github.com/ecorm))
```c++ ```c++
using namespace date; using namespace date;