Previous Topic: NOTBITS Function--Perform a Bitwise NOT

Next Topic: NOWGMT Function--Return Current Time in Seconds

NOW Function--Return Current Time in Seconds

The NOW function returns a numeric value representing the number of seconds since January 1, 1970 at the time the function is invoked. The time is local to the current server system.

This value is computed at the beginning of operations in a specific expression. Multiple references to the NOW function within the same expression always have the same result.

Syntax

The NOW function has the following format:

NOW()

Parameters

The NOW function accepts no parameters.

Return Value

The NOW function returns a number.

Example

Return_value=NOW()
Return_value=1024804800

More information:

NOWGMT Function--Return Current Time in Seconds


Copyright © 2010 CA. All rights reserved. Email CA about this topic