SM76 Posted April 27, 2007 Posted April 27, 2007 Mornin .. I was wondering if anybody knows a way to extract the four digit year from a date-field. Reason I'm doing this is because I have a calculation that creates file references to images that have a file-name that includes that year ... Appreciate the help .. SM
comment Posted April 27, 2007 Posted April 27, 2007 Year ( Datefield ) will extract the year. If you have records going back to before year 1000, and you want to pad the result with zeros, use: Right ( "0000" & Year ( Datefield ) ; 4 )
Recommended Posts
This topic is 6480 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now