Forums

This topic is locked

Time update - <%=Time%>

Posted 30 Sep 2002 20:49:32
1
has voted
30 Sep 2002 20:49:32 Marc Fogel posted:
How can I update a field in my access databse with the current time when I hit the submit button?

Replies

Replied 30 Sep 2002 23:24:19
30 Sep 2002 23:24:19 Colin Roblin replied:
Are you updating a single field or adding a new line each time you submit ie like a guestbook?

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
How can I update a field in my access databse with the current time when I hit the submit button?


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 01 Oct 2002 00:31:47
01 Oct 2002 00:31:47 Marc Fogel replied:
I am updating a single field in an access database.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Are you updating a single field or adding a new line each time you submit ie like a guestbook?
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>

How can I update a field in my access databse with the current time when I hit the submit button?


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Replied 01 Oct 2002 14:36:44
01 Oct 2002 14:36:44 Stuart Harland replied:
You could use:

formatdatetime(Now,4)

This will give you just the time from the Now function.

Stuart


********************
wheatNOTmeat

Reply to this topic