E r g e b n i s / R e s u l t
Get the current Open Access date format
B e s c h r e i b u n g / D e s c r i p t i o n
This routine returns the current Open Access date format as a number.
This allows the developer to record and check the current date format
before changing it, using the SETDATE function.
S y n t a x
Code:
value = call ('GETDATE') P a r a m e t e r
There are no parameters for this procedure
R e t u r n s
An integer value indicating the current date format.
0 = mm-dd-yyyy 3 = mm.dd.yyyy 6 = mm/dd/yyyy
1 = dd-mm-yyyy 4 = dd.mm.yyyy 7 = dd/mm/yyyy
2 = yyyy-mm-dd 5 = yyyy.mm.dd 8 = yyyy/mm/dd
B e i s p i e l / E x a m p l e
Code:
attach 'SETUP'
put call('GETDATE') ! prints the value of the current date format
detach 'SETUP' Q u e r v e r w e i s / C r o s s R e f e r e n c e
SETDATE