Epoch Time Converter
This Python script converts epoch time (Unix timestamp) to human-readable date and time formats in multiple time zones. It supports conversion to UTC, Pacific Time (PST/PDT), Central Time (CST/CDT), and Eastern Time (EST/EDT).
Usage:
Input: The script prompts the user to enter an epoch time. Output: It outputs the corresponding date and time in UTC, Pacific Time, Central Time, and Eastern Time.
Example:
Enter the epoch time: 1651622400 UTC Time: 2022-05-04 00:00:00 UTC Pacific Time (PST/PDT): 2022-05-03 17:00:00 PDT Central Time (CST/CDT): 2022-05-03 19:00:00 CDT Eastern Time (EST/EDT): 2022-05-03 20:00:00 EDT
Requirements:
Python 3.9 or higher (for zoneinfo module support) How to Run
Clone the repository or download the script. Run the script using a Python interpreter. Copy code python epoch_time_converter.py Enter the epoch time when prompted.
License:
This project is licensed under the MIT License. See the LICENSE file for details.