Einzelnen Beitrag anzeigen
Alt 31.05.2007, 12:01   #9
waldbauer.com
Entwickler
DATCONV3

E r g e b n i s / R e s u l t

Liefert das Jahr aus einem Datum
Return the year 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

When passed a date, this function returns the year. If the function was passed a date of the format '31/12/96' it would return 1996.

S y n t a x

Code:
value = call ('DATCONV3' , 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 year.

B e i s p i e l / E x a m p l e

Code:
 
attach 'DATE'
put call ('DATCONV3' , sysdate) ! prints today's year
detach 'DATE'
waldbauer.com ist offline   Mit Zitat antworten