You could use a timer to update the time. Put a disabled textbox on your form. Call it txtTime for example. Then put a timer control on your form. In its timer event put THISFORM.txtTime.Value=TIME(). This could affect performance so you won't want to set the interval too high. Maybe 60 seconds so that it updates about every minute. You should also look at the help for the SET CLOCK command. It isn't very flexible, but it's easy to use and can put the clock in the status bar.
>how do i put time() to the textbox and everytime will refresh it
>just like timer and let the user to see what time is that??
>thanks