How to calculate Week Number?

edited 8:59PM in FastCube
I see Fast Cube calculates the Week Number from a date. How can I define my own algorithm to calculate this number? Our software is sold around the world and many regions use different systems to determine the last week of the year or when it starts.
By the way, which system does FastCube use? ISO?

Thanks

Comments

  • edited 8:59PM
    Hi.

    FastCube 2 use ISO8601 for Week Number by default.
    But you can set property TfcxCube.WeekNumberISO8601 := False.

    Best regards,
    Oleg Prualkov.
  • edited 8:59PM
    Bu then how can I add my custom function to calculate the week number?

    I have been reading the manual and I cannot find the WeekNumberISO8601 property or how to custom attributes.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.