Click here to Skip to main content
12,701,854 members (34,678 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#
Hey Everyone

I want to develop application like Operating System Clock. ie if System is shut down my Clock will be getting correct Time.

Vishal Jodh
Posted 5-Dec-12 2:42am
Krunal Rohit 5-Dec-12 7:43am
Elaborate your question...
vishal jodh 5-Dec-12 7:48am
Like OS Clock, I want to develop Clock application which will not stop after Computer/System is Shut Down(Getting correct Date And Time when Computer start) and also if some on change the system or BIOS time my Clock won't affected.
Richard MacCutchan 5-Dec-12 8:38am
You can check the time with various internet services. Google will find you lots of information.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Just take a label and simply write this code :
private void timer1_Tick(object sender, EventArgs e)
            Label1.Text = DateTime.Now.ToString();
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


will give the current time
now just on label print the output from method
for testing this paste your exe in windows startup folder so whenever computer started exe will be start and will show u timing
vishal jodh 5-Dec-12 8:02am
But if Suppose Some one Changed the System Date And Time Then......

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 5 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100