WeekOfYear

The function WeekOfYear (<Date>,[Weekday rule],[First day of week]) returns the weekday on the given date.

Syntax:

WeekOfYear(ConvertDateTimeFromString('01.07.2015', 'dd.MM.yyyy'))

liefert 27

WeekOfYear(ConvertDateTimeFromString('01.07.2015', 'dd.MM.yyyy'), 1)

liefert 26