/Unix_Epoch_Counter

Unix Epoch Counter to celebrate 1.5 Billion Unix Epoch and other Timestamps.

Primary LanguagePython

Unix_Epoch_Counter

The purpose of the Unix Epoch Counter is to celebrate 1.5 Billion Unix Epoch and future timestamps. The counter will be displayed on an LED sign.

According to Wikipedia, Unix time (also known as POSIX time or epoch time) is a system for describing instants in time, defined as the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970, minus the number of leap seconds that have taken place since then.

The file called unix_periods.py has a function called unix_countup() which counts up to a specified unix timestamp.

Setup:

Command-Line Examples:

In the following examples, unix_periods.py and unix_counter.py are stored in an USB thumb drive (F:).

To run the code, we need to switch drives and then change the directory within the (F:) drive.

Example #1:

F:
cd F:\\Python\\Projects\\Epoch
python unix_counter.py 1500000000 0.01 0

Example #2:

F:
cd F:\\Python\\Projects\\Epoch
python unix_counter.py -p 1500000000 -m 0.01 -o 0

Example #3:

F:
cd F:\\Python\\Projects\\Epoch
python unix_counter.py --party 1500000000 --moment 0.01 --offset 0

Recorded Example:

http://i.imgur.com/Sg0ZnAA.gif

Desired Results:

About The Author:

https://www.JoshingAroundBlog.WordPress.com/

http://www.LinkedIn.com/in/Josh-Voss/

https://www.Twitter.com/VossDataScience

REMEMBER!