Page 1 of 1

Find date of first Friday

Posted: Wed Nov 25, 2020 6:46 am
by BT454
Hi all,
Is it possible to write a piece of code that would return the date of the first Friday of a given year?
Thanks!
Bob

Re: Find date of first Friday

Posted: Wed Nov 25, 2020 8:40 am
by EViews Gareth
The first Friday that exists in the (daily) workfile, or the first Friday that exists existentially?

Re: Find date of first Friday

Posted: Tue Dec 15, 2020 10:46 am
by BT454
hi and sorry for my delay!
the first friday of a given month within a workfile.
Thank you very much!

Re: Find date of first Friday

Posted: Tue Dec 15, 2020 10:53 am
by EViews Gareth
Sorry, still not clear.

What is the frequency of the workfile?

Do you want to return a single string that contains the date of the first Friday in a specific month that exists in that workfile?