Einzelnen Beitrag anzeigen
Alt 31.05.2007, 11:02   #7
waldbauer.com
Entwickler
Beschreibung vorhanden OSA DATCONV1 bis DATCONV9 sowie DATCONVA, DATCONVB, DATCONVC

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'
Angehängte Dateien
Dateityp: oac date.oac‎ (19.0 KB, 7x aufgerufen)
Dateityp: txt date.txt‎ (1.1 KB, 3x aufgerufen)
waldbauer.com ist offline   Mit Zitat antworten