Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Access (https://www.askmehelpdesk.com/forumdisplay.php?f=441)
-   -   Auto clock (https://www.askmehelpdesk.com/showthread.php?t=251392)

  • Aug 21, 2008, 09:35 AM
    MUHAIMEN
    Auto clock
    Is there any code for real time clock which updating minute to minute? :)
  • Aug 21, 2008, 09:45 AM
    StaticFX
    just to show you how to do this.

    create a new form.
    add a label to it
    in the from properties, find Timer Interval and set it to 1000
    now go to the code...

    Private Sub Form_Timer()
    Label0.Caption = Format(Time(), "hh:mm:ss")
    End Sub
  • Aug 21, 2008, 10:14 AM
    MUHAIMEN
    Thanks for the reply but I tried it was static. Is there any other code?
  • Aug 21, 2008, 10:32 AM
    ScottGem
    That works for me. Did you make sure to set the Timer Interval property?

  • All times are GMT -7. The time now is 09:49 PM.