Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 440 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 440 Bytes

Time converter

Version 0.75b

Light and Fast Time converter class for Python

The program can convert such time values: nanosecond, microsecond, millisecond, minute, hour, day, week, month, year, century, second

Also, you can pass parameters in the datetime.timedelta and datetime.datetime class form

Code Example

from converter import Time

weeks = Time(type_="week", value=5)
print(weeks.to_day())
# > 35.0