E r g e b n i s / R e s u l t
Liefert die Zahl des Monats aus einem Datum
Return a month number from a date
B e s c h r e i b u n g / D e s c r i p t i o n
The procedure returns the month number of any date passed to it. Given a date of 28/04/1996, for example, the integer value 4 would be returned.
S y n t a x
Code:
value = call ('DATCONV1' , datefld) P a r a m e t e r
datefld - Any valid Open Access date.
R e t u r n s
An integer value containing the month number of the date parameter
passed to the routine.
B e i s p i e l / E x a m p l e
Code:
attach 'DATE'
put call ('DATCONV1' , sysdate) ! prints today's month number
detach 'DATE'