Home page
or browse popular tags
Access Functions

Sign up for the free email newsletter for new tips, tutorials and more. Enter your email address below, and then click the button.

Privacy Policy

RSS Twitter

Access: Time Function


In Access, the Time function returns the current system time.

The syntax for the Time function is:

Time ( )

The Time function returns a time stored internally as the fractional part of a double-precision number.


Time ()      returns a value such as '5:22:43 PM'

VBA Code

Dim MyTime As String 
MyTime = Time

Now the MyTime variable would contain the current system time.

SQL query

You can also use the Time function in a query.

SELECT Time() AS Expr1
FROM Orders

If you'd like to see how it works, enter SQL statement and press Execute


Add To: Add to dzone dzone | Digg this digg | Add to del.icio.us del.icio.us | Stumble it stumbleupon

  • Comments

Copyright © 2005-2023             www.WebCheatSheet.com All Rights Reserved.