Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Want to display Just the YEAR 1

Status
Not open for further replies.

timtom

Programmer
Jul 12, 2001
78
GB
Can I do that? I just want the year. Not the month or day or minute. Cheers
Thanks
Sarah :-0
User_timtom.jpg
WASN'T FIT ENOUGH FOR THE POLICE FORCE
 
<% =Year(Now) %>

or

<%= year(someOtherDate) %>
penny.gif
penny.gif
 
Cheers. didn't think I'd get that done before lunch. Thanks a lot :)
User_timtom.jpg
WASN'T FIT ENOUGH FOR THE POLICE FORCE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top