ki***********@hotmail.com (MarthaR) wrote in
news:6b**************************@posting.google.c om:
I am trying to add the current time to a field when the user clicks on
the toggle button next to the field. I am getting a time of 12:00:00
AM each time I click the button.
How do I get a return of the current time?
MarthaR
Look at your watch. :)
Seriously, you need to post the code that's fired in the OnClick event of
your button. I suspect that you are using date(). use time() instead, or
use now() which ill return both, and format the textbox (you called it a
field, but it's a textbox) to show the hours only.
Bob Q