Updated Boost datetime Examples Translated (markdown)

Howard Hinnant
2017-07-07 16:48:18 -04:00
parent 840eabf15a
commit e87e529a0a

@@ -27,16 +27,16 @@ look if ported to this library.
<a name="Dates_as_Strings"></a>
### Dates as String
```c++
#include "date.h"
#include <cassert>
#include <iostream>
#include <sstream>
#include <exception>
#include "date.h"
#include <cassert>
#include <iostream>
#include <sstream>
#include <exception>
int
main()
{
int
main()
{
using namespace date;
using namespace std;
try
@@ -68,8 +68,8 @@ look if ported to this library.
{
cout << "Exception: " << e.what() << '\n';
}
}
}
```
<a name="Days_Alive"></a>
### Days Alive