Skip to content

Commit d9e1057

Browse files
authored
usage instructions
1 parent 7a8a045 commit d9e1057

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ Python 3.6+.
1717
$ pip install dateandtimeparser
1818
```
1919

20+
## Usage
21+
22+
```python
23+
from dateandtimeparser import DateTimeParser as parser
24+
25+
text = 'Today is 10/12/16 and tomorrow is January 01 2019.'
26+
dp = parser(text, start_year=2000, end_year=2020)
27+
```
28+
2029
## License
2130

2231
dateandtimeparser is distributed under the terms of the

0 commit comments

Comments
 (0)