E r g e b n i s / R e s u l t
Returns the week number of the date given.
B e s c h r e i b u n g / D e s c r i p t i o n
When passed a date, this function returns an integer that represents the number of the week.
If the function was passed a date of the format '11.10.2012' it would return 41, as the given date is within the 41st week of the yer 2012.
S y n t a x
Code:
value = call ('WOCHE' , datefld) P a r a m e t e r
datefld - any Open Access date
R e t u r n s
An integer containing the number of the week.
B e i s p i e l / E x a m p l e
Code:
attach 'WOCHE'
put call ('WOCHE' , sysdate) ! prints the week number
detach 'WOCHE'