finding the week containing the first friday of the month
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
finding the week containing the first friday of the month
If I am working with a weekly workfile, is there a way to code for a sample that contains all weeks containing the first friday of the month?
-
EViews Matt
- EViews Developer
- Posts: 583
- Joined: Thu Apr 25, 2013 7:48 pm
Re: finding the week containing the first friday of the month
Hello,
I believe the following will accomplish what you requested:
I believe the following will accomplish what you requested:
Code: Select all
smpl if @datepart(@date + @mod(12 - @datepart(@date, "W"), 7), "DD") <= 7
Who is online
Users browsing this forum: No registered users and 2 guests
