Newbies peter smith Posted February 1, 2005 Newbies Posted February 1, 2005 I have a week number field and a year field (both numbers) and I would like them to return the date for the monday of that week. Any suggestions
BobWeaver Posted February 1, 2005 Posted February 1, 2005 Date(1;(Week-1)*7;Year)-DayOfWeek ( Date(1;1;Year) )+3
-Queue- Posted February 1, 2005 Posted February 1, 2005 Case( weeknumber and year; Date( 1; 1; year ) + 7 * (weeknumber - 1) - DayOfWeek(Date( 1; 1; year )) + 2 )
-Queue- Posted February 1, 2005 Posted February 1, 2005 Ah, Bob beat me, but he inspired this 'simplification'. Case( weeknumber and year; Date( 1; 7 * weeknumber - DayOfWeek(Date( 1; 1; year )) - 4; year ) )
Ugo DI LUCA Posted February 2, 2005 Posted February 2, 2005 or... week * 7 + Date(1; 1; year) - DayOfWeek(Date(1;1; year))-5
Recommended Posts
This topic is 7303 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