Skip to content

Commit

Permalink
Update the docs in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhajj committed Dec 8, 2023
1 parent 5ff15ad commit dfa8156
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ pn.format(True)
# => '198507099805'
```

### Get Date
_New in version 3.2.0_

```python
from personnummer import personnummer

pn = personnummer.Personnummer('19121212+1212')
pn.get_date()
# => datetime.date(1912, 12, 12)
```

### Get Age

```python
Expand Down

0 comments on commit dfa8156

Please sign in to comment.