Einzelnen Beitrag anzeigen
Alt 10.10.2012, 02:37   #84
leecher
Moderator
DATCONVA

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

Returns an integer in the format [yy][mm]

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 representing the 2-digit year and 2digit-month of the current date.
If the function was passed a date of the format '11.10.2012' it would return 1210, as the year is 2012 and the month is 10.

S y n t a x

Code:
value = call ('DATCONVA' , 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 [yy][mm]

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

Code:
 
attach 'DATE'     
put call ('DATCONVA' , sysdate) ! prints today's year and month as integer
detach 'DATE'
leecher ist offline   Mit Zitat antworten