Re: More on Dates (Day numbers)

From: Martin Bobrovsky <Martin.Bobrovsky_at_workforce.co.at>
Date: 1997/12/03
Message-ID: <348594A4.A696BC6D_at_workforce.co.at>#1/1


> Is there a built in function that returns the day number or day of the week?
>
> Ie, I pass it 04-Dec-97, and it returns either a string ('Thursday'), or a
> number (5 - where 1=Sunday) - I'm just doing a quick test to make sure the
> user is not selecting certain days of the week. Thanks

You can use the following date formats:

D: Number of days in week: 6
DY: Three-letter abbreviation of day: FRI DAY: Day fully spelled out: FRIDAY

        Martin Received on Wed Dec 03 1997 - 00:00:00 CET

Original text of this message