Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⏰ Digital Clock

A simple Java Swing desktop application that displays a real-time digital clock. The time automatically updates every second and reflects your local system timezone — whether it's IST, PST, UTC, or any other region.

🧩 Features

  • Displays current system time with timezone (e.g., IST, UTC)
  • Format: EEE MMM dd HH:mm:ss z yyyy (e.g., Fri Jul 11 22:31:07 IST 2025)
  • Real-time updates every second using javax.swing.Timer
  • Time is region-aware, based on the user's local timezone
  • Bold, high-contrast display for visibility
  • Lightweight and responsive Java Swing GUI application

🖼 Digital Clock GUI

  • 📸 Date Time displayed below is in IST format

Digital Clock GUI


🚀 How to Run

✅ Option 1: Clone and Run the Source Code

  1. Clone the repository:

    git clone https://github.com/hema-priya-vadivel/DigitalClock.git
    
  2. Open the project in your Java IDE (e.g., IntelliJ IDEA, Eclipse)

  3. Navigate to the src folder and run DigitalClock.java

  4. The clock window will appear and display your current time

✅ Option 2: Download & Run Application Directly

If you don't want to clone the source code:

About

A simple Java Swing desktop application that displays a real-time digital clock. The time automatically updates every second and reflects your local system timezone — whether it's IST, PST, UTC, or any other region.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages