MCPcopy Create free account
hub / github.com/PageBot/PageBot / now

Function now

Lib/pagebot/toolbox/dating.py:101–109  ·  view source on GitHub ↗

Answers the current DateTime instance. >>> Dating(year=1900) < now() True >>> now() < Dating(year=2500) True

()

Source from the content-addressed store, hash-verified

99 return date
100
101def now():
102 """Answers the current DateTime instance.
103
104 >>> Dating(year=1900) < now()
105 True
106 >>> now() < Dating(year=2500)
107 True
108 """
109 return Dating(date='now')
110
111def milliSeconds(milliSeconds):
112 """Answers the Duration instance for this amount of milliSeconds

Callers 3

headerCssMethod · 0.90
_set_tMethod · 0.90
__init__Method · 0.90

Calls 1

DatingClass · 0.85

Tested by

no test coverage detected