Browse Source

Datetime

pull/23/head
Jure Šorn 5 years ago
parent
commit
488bcfea87
1 changed files with 1 additions and 2 deletions
  1. 3
      README.md

3
README.md

@ -500,8 +500,7 @@ from dateutil.tz import UTC, tzlocal, gettz
<D/DTn> = D/DT.fromordinal(<int>) # D/DTn from days since Christ. <D/DTn> = D/DT.fromordinal(<int>) # D/DTn from days since Christ.
<DTa> = DT.fromtimestamp(<real>, <tz>) # DTa from seconds since Epoch in tz time. <DTa> = DT.fromtimestamp(<real>, <tz>) # DTa from seconds since Epoch in tz time.
``` ```
* **ISO strings come in following forms: `'YYYY-MM-DD'`, `'HH:MM:SS.ffffff[±<offset>]'`, or both separated by `'T'`.**
* **Offset is formated as: `'HH:MM'`.**
* **ISO strings come in following forms: `'YYYY-MM-DD'`, `'HH:MM:SS.ffffff[±<offset>]'`, or both separated by `'T'`. Offset is formated as: `'HH:MM'`.**
* **On Unix systems Epoch is `'1970-01-01 00:00 UTC'`, `'1970-01-01 01:00 CET'`, ...** * **On Unix systems Epoch is `'1970-01-01 00:00 UTC'`, `'1970-01-01 01:00 CET'`, ...**
### Decode ### Decode

Loading…
Cancel
Save