Date Function
Posted: Fri May 16, 2014 4:04 pm
Hello,
I have a problem, I have a series with daily frequency, I would like to fill a vector with only the "Fridays observations" (@weekday=5) and the @last observation. When I smpl if with @weekday=5, I have the problem that if today it is NOT Friday, I will miss the Today observation.
Thanks!!
I have a problem, I have a series with daily frequency, I would like to fill a vector with only the "Fridays observations" (@weekday=5) and the @last observation. When I smpl if with @weekday=5, I have the problem that if today it is NOT Friday, I will miss the Today observation.
Thanks!!