hi guys

i want to put a string in my program which shows the time of the Day and update itself . i mean it is put on the top of the screen and show the Very current time. but i can only put a time in a string and when i run the code , the string remains static and is not changed with passing time.

Use Timer to Change the Time. The appreciated interval is 1000 (1 Sec). Inside Timer_Tick Event do your Coding.

private void tmrTime_Tick(object sender, EventArgs e)
    {
        //Periodically update the values
        //Your Coding
    }