how to show current time(ticking).

Last post 06-18-2008 9:00 AM by fred51523. 8 replies.

Sort Posts:

  • how to show current time(ticking).

    09-19-2007, 11:55 PM

    hi all, may i know how to show current time which is ticking when browser is loaded, and saved the time when a button is hitted?

    i have tried on displaying the time which is stagnant on the time it loads.

    Label7.Text = DateTime.Now.ToString("HH:MM:ss")

    how to make it more real time.? please help!

  • Re: how to show current time(ticking).

    09-20-2007, 5:31 AM
    Answer
    Hosam Kamel



    Remember to click on Mark as answer on the post that helped you
  • Re: how to show current time(ticking).

    09-20-2007, 5:48 AM

    hi sir, thanks for replying, but can java script store strings as variables and parsed to .net?

  • Re: how to show current time(ticking).

    09-20-2007, 5:49 AM

    if yes how do i do it? because all the examples are in javascript. hehe i'm sorry quite new. ^^

  • Re: how to show current time(ticking).

    09-20-2007, 6:29 AM

    ok... why you need to store this value while you can get it from server side if you need

    it's simply DateTime.Now

    so no need to store it ... just use javascript fro displaying and none refresh purposes.

    let me know if you need to store it for another purpose??

    Hosam Kamel



    Remember to click on Mark as answer on the post that helped you
  • Re: how to show current time(ticking).

    09-20-2007, 8:40 PM

    yeap theres a purpose. its like i want to show them the current time on the system. as they enter the form and when they submit, the time is captured into the database at the point of time they hit the submit button, to track what time they acknowlege the task! thats why. i'm sorry for the trouble caused! please help me!!

  • Re: how to show current time(ticking).

    09-20-2007, 9:25 PM

    hi i have tried the web sites u';ve gave me and the clock is displayed, but when i want to drag the button ot using webform, the button cant move! it locks there. how do i unlock it?

  • Re: how to show current time(ticking).

    09-21-2007, 2:54 AM

    THANKS I WORKED IT OUT WITH IT ALREADY! =))))))))

  • Re: how to show current time(ticking).

    06-18-2008, 9:00 AM
    • Loading...
    • fred51523
    • Joined on 12-18-2007, 4:32 PM
    • Posts 210

    SmileThanks Hosamkamel for the links

     

    Fred--Thats what my buddies call me

    Mark this as Answer, if this reply answers your post
Page 1 of 1 (9 items)
Microsoft Communities
Page view counter