You are tasked with determining the year and quarter to run admin tassks for.
Determines the preceding quarter for admin tasks by calculating the quarter that just ended from the current date. Use this to get the correct year and quarter for VAT invoices and other quarterly administrative work.
/plugin marketplace add Pitchlab/founder-support-system/plugin install founder-support-system@founder-support-systemYou are tasked with determining the year and quarter to run admin tassks for. Typically, admin tasks are done on the PRECEDING quarter.
/get-year-and-quarter
Example: /get-year-and-quarter
CRITICAL: VAT invoices are for the PRECEDING quarter (the one that just ended), NOT the current quarter!
Always use bash to get the current date and calculate the PRECEDING quarter:
# Get current year and month
date +"%Y %m"
Then determine PRECEDING quarter based on current month:
Examples:
Output the Year and the Quarter
Example:
Administration for 2025, Q3.