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 return values from Gregorian calendar and are always formatted in the default built-in way. In other words, it does these functions do NOT use data from cal data sourcefrom the cal Data Source. If you need the actual data from from the cal table, you need to make a query to that data sourceData Source.