Einzelnen Beitrag anzeigen
Alt 10.10.2012, 03:04   #89
leecher
Moderator
JAHR

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

Same as DATCONV3 function

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 ('JAHR' , 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 'JAHR'
put call ('JAHR' , sysdate) ! prints today's year
detach 'JAHR'
Angehängte Dateien
Dateityp: oac JAHR.OAC‎ (13.5 KB, 2x aufgerufen)
leecher ist offline   Mit Zitat antworten