All Functions
Date Function
Day Function
Month Function
Now Function
Weekday Function
FUNCTION: Year( )
Year
(Date)
The
Year
function returns the number of the current year using any valid date expression as an argument.
You can also use the
Date
and
Now
functions as the argument.
Code:
<% =Year(Now) %>
Output:
1999
Code:
<% =Year("6/26/43") %>
Output:
1943
Copyright 1999-2004 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information