Versions Compared

Key

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

...

Similarly, other time dimensions such as Month, Quarter and Year can be retrieved by getMonth(date), getQuarter(date) and getYear(date) methods respectively. 

Warning

These functions (getWeek(), ...) are always returning values from Gregorian calendar and always formatted in the default built-in way. In other words, it does NOT use data from cal data source. If you need the actual data from cal table, you need to make a query to that data source.