Updated Examples and Recipes (markdown)

HowardHinnant
2015-09-04 11:51:22 -04:00
parent a073636fd4
commit d0c00b1286

@@ -193,7 +193,7 @@ The next step is to find when the day started that is associated with `utc`. To
Now the number of microseconds since the start of the day needs to be computed. The start of the day, `dp`, is converted back into the leap-second aware system, and subtracted from the microsecond time point: `utc`. The variable `us` is reused to hold “microseconds since midnight”. Now it is a simple computation to split this into milliseconds since midnight, and microseconds since the last millisecond. Now the number of microseconds since the start of the day needs to be computed. The start of the day, `dp`, is converted back into the leap-second aware system, and subtracted from the microsecond time point: `utc`. The variable `us` is reused to hold “microseconds since midnight”. Now it is a simple computation to split this into milliseconds since midnight, and microseconds since the last millisecond.
<a name="delta months"></a> <a name="deltamonths"></a>
### Difference in months between two dates ### Difference in months between two dates
(by [Howard Hinnant](https://github.com/HowardHinnant)) (by [Howard Hinnant](https://github.com/HowardHinnant))