c0de 0.3.0Diese Seite auf Deutsch

WEEK ​

Returns the ISO 8601 week of the year (1 to 53).

Week 1 contains the first Thursday of the year. So days around New Year can belong to week 52 or 53 of the old year or week 1 of the new one. Without time the current time is used.

Parameters and results

  • time TIME: the time (optional, default now)
  • result result INTEGER: the week, 1 to 53

Example

c0de
CALL c0de/time/WEEK
    RESULT result week