Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

What you're looking for is api.getDatamartContext().

In the Analytics module, conversions of a certain Date into Fiscal Year, Quarter, Month and Week are done via a Data Source called "cal", found in Analytics. This is intended to be used only in Analytics, even though you can read it from within any logic in any module.

...