Home page
 
 Home 
 ASP 
 PHP 
 SQL 
 HTML 
 JavaScript 
 Search 
 Contact 
 
Search
or browse popular tags
Got questions?

We got answers.

Ask your question about PHP, ASP, Javascript, HTML, CSS, hosting and get professional help, free of charge.

Access Functions
Subscription

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: Now Function

Print Bookmark and Share

In Access, the Now function returns the current date and time according your computer's system date and time.

The syntax for the Now function is:

Now ( )

The Now function returns a date and time that are stored internally as a double-precision number.

Examples

Now ()      returns such as '05/05/2005 11:24:41 PM'

VBA Code

Dim MyResult As Integer 
MyResult = Now

Now the MyResult variable would contain the current system date and time.

SQL query

You can also use the Now function in a query.

SELECT Now() AS Expr1
FROM Orders


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

Free Contact Form

Need help with ASP, PHP, Javascript?

Let our experts help you.
 
 
ASPRunner.NET - code generator for ASP.NET
Web hosting from $5/month (PHP,ASP,MySQL,unlimited emails)



Tags: ACCESS FUNCTION NOW CURRENT DATE TIME SYSTEM

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

  • Comments





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