application for converting local time or UTC into Unixtime and viceversa
Project description
Unixtime Converter
The Unixtime Converter is a lightweight python program with a Tkinter-GUI. It calculates local time or UTC into an unixtimestamp or vice versa. Basically it can be used and downloaded by everybody. Unixtime is mainly used in the IT.
Installation/Setup
Prerequisites
Make sure that your python setup has minimumversion 3.9 and contains the libraries for tkinter. To get this information you can type in into a terminal the command python (it can be that you have to use python3) and hit enter. You shoud get something like this:
myuser@xxxx1:~$ python3
Python 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0] on linux
ype "help", "copyright", "credits" or "license" for more information.
>>>
In the second line of the output you see the current version of python. As next you can type in "import tkinter as tk" and hit enter. If the tkinter libraries are installed nothing will happen - otherwise you will get an error that it can't be imported or found. If you have no issue you can type in the following and you will see the current version of tkinter:
myuser@xxxx1:~$ python3
Python 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter as tk
>>> tkversion = tk.TkVersion
>>> print(tkversion)
8.6
>>>
If you can see something like this you are ready for setup.
Proceed with installation
Currently the setup is only tested on linuxbased os with python3 minimumversion 3.9. It is strongly recommended to install it into a virtual environment (venv). To start the setup use pip:
pip install uxtime
A setup Windows 10 or 11 will follow soon.
Start the application
After installing the application you can start it with "unixtime" from an terminal.
How it works
The program needs exactly 2 parameters to calculate the requested time:
- select a timezone from the list
- fill in a unixtimestamp or localtime or utc and click on the butten left of the field All 3 fields for time will be filled/calculated
Basically it's not needed to click on the resetbutton. It's for more clearance for the usage. If you click on it all entriefields for time (localtime, utc-time and unixtime) are cleared.
If you change one timefield (and both other timefields containing values) and you click on the button beside of this field all other (time-)fields are recalculated.
done - that's it!
See also the documentation online
[Read the documentation online] (https://docs.roadrunnerserver.com/unixtime/html/index.html)
Donate
If you enjoy the program or want to buy me a coffee, you can do it with this link: [Buy me a coffee] (https://www.paypal.com/donate/?hosted_button_id=WRRNT8JXXLNGJ "Buy me a coffee")
or you scan this QRcode:
Thank you very much!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uxtime-1.1.0-py3-none-any.whl.
File metadata
- Download URL: uxtime-1.1.0-py3-none-any.whl
- Upload date:
- Size: 50.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
429b17fa9844cda62cde7d30015fedff8ed8aee42baf65a5b0432a202c3417a5
|
|
| MD5 |
8588b314d9588c34e30ac398b883fad2
|
|
| BLAKE2b-256 |
4f4c238f116761ab3be17fef5f21e013a696b46ca8d5c6c42d2947f34588163d
|