Skip to content

n0mad-samurai/contime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 

Repository files navigation

contime

usage: contime.py [-h] [-e EPOCH] [-t DATETIME [DATETIME ...]]

This is a date time converter that handles Unix epoch or iOS Absolute Time formats.

Provide your UTC date and time with decimal seconds(up to 6 digits) using this format: 2014-01-26 23:44:15.0 year-month-day hours:minutes:seconds.000000 or, UTC epoch milliseconds (13 digits!) as: 1390779855380 or, iOS Absolute Time (14 digits) as: 402373726.55571. Default is Unix epoch conversion. TimeType option 'i' is iOS Absolute Time conversion.

options:

-h, --help show this help message and exit

-ep EPOCH, --epoch EPOCH, convert UTC numeric timestamp to UTC date time format

-dt DATETIME [DATETIME ...], --DateTime DATETIME [DATETIME ...], convert UTC date time format to UTC numeric timestamp

--tt TIMETYPE, --TimeType TIMETYPE, options: u = Unix epoch conversion, i = iOS Absolute Time conversion

You can use both options, -ep and -dt, in one process

Use the website: https://currentmillis.com/ to confirm results.

Releases

No releases published

Packages

No packages published

Languages