Skip to content

Commit

Permalink
Merge pull request #155 from DavidMuller/patch-1
Browse files Browse the repository at this point in the history
Add Example of Creating a MayaDT Using a Unix Time
  • Loading branch information
timofurrer authored May 22, 2018
2 parents 1b432d6 + 9c1e94f commit ed5d72b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ Behold, datetimes for humans!
>>> m = maya.MayaDT.from_struct(time.gmtime())
>>> print(m)
Wed, 20 Sep 2017 17:24:32 GMT
>>> m = maya.MayaDT(time.time())
>>> print(m)
Wed, 20 Sep 2017 17:24:32 GMT
>>> rand_day.day
7
Expand Down

0 comments on commit ed5d72b

Please sign in to comment.