E r g e b n i s / R e s u l t
Set 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 sets the current Open Access date format.
Some conditional statements in screen and print forms require the date
to be in fixed format. This function can force the date to that
format first.
S y n t a x
Code:
bool = call ('SETDATE' , value) P a r a m e t e r
value - 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
R e t u r n s
A boolean value.
B e i s p i e l / E x a m p l e
Code:
attach 'SETUP'
put call('SETDATE' , 7) ! sets the date format to dd/mm/yyyy
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
GETDATE