====== WeekOfYear ====== The function //WeekOfYear (,[Weekday rule],[First day of week])// returns the weekday on the given date. * Date: The date from which the day of the week is to be calculated. * weekday rule (Default value: **first four days**.): * 0 = First day * 1 = the whole week * 2 = first four days * First day of the week (Default value: Monday): * 0 = Sunday * 1 = Monday * 2 = Tuesday * ... ==== Syntax: ==== WeekOfYear(ConvertDateTimeFromString('01.07.2015', 'dd.MM.yyyy')) liefert **27** WeekOfYear(ConvertDateTimeFromString('01.07.2015', 'dd.MM.yyyy'), 1) liefert **26**