E r g e b n i s / R e s u l t
Returns an integer specifying the day of the year
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 the specifies the day number of the year specified.
If the function was passed a date of the format '11.10.2012' it would return 285, as this day is the 285th day of the year 2012.
S y n t a x
Code:
value = call ('DATCONV9' , 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 day of the year.
B e i s p i e l / E x a m p l e
Code:
attach 'DATE'
put call ('DATCONV9' , sysdate) ! prints today's day number within the year
detach 'DATE'