Create GetHour() or GetQuarter() like GetDay() or GetWeek()?

marketstreet

marketstreet

New member
How can I create the same functionality as the GetDay(), GetWeek(), GetMonth(), or GetYear() functions for other time frames like Hour, Quarter, etc.?
I have tried constructing synthetic aggregation periods (e.g. combining 3 months for one quarter) but nothing plots correctly. Thank you.
 
Last edited:

Similar threads

Top