Einzelnen Beitrag anzeigen
Alt 10.10.2012, 02:30   #83
leecher
Moderator
DATCONV6

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

Returns the day of week of a given 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 day of week as a number, starting at 0 for Sunday, so 1 is Monday, 2 is tuesday, ...
If the function was passed a date of the format '11.10.2012' it would return 4, as this is a Thursday.

S y n t a x

Code:
value = call ('DATCONV6' , 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 weekday number.

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

Code:
 
attach 'DATE'     
put call ('DATCONV6' , sysdate) ! prints today's weekday number
detach 'DATE'
leecher ist offline   Mit Zitat antworten