| Subject | DayOfWeek equivalent |
|---|---|
| Author | Adam |
| Post date | 2006-05-22T06:21:32Z |
Hi Group,
Is there are an equivalent function or way of doing the Delphi
DayOfWeek function without UDFs within Firebird?
For those not familiar with Delphi, it accepts a date or timestamp and
returns
1 if Sunday
2 if Monday
3 if Tuesday
....
7 if Saturday
Perhaps there is some Extract command for the DOW that I can use in a
simple stored procedure.
Adam
Is there are an equivalent function or way of doing the Delphi
DayOfWeek function without UDFs within Firebird?
For those not familiar with Delphi, it accepts a date or timestamp and
returns
1 if Sunday
2 if Monday
3 if Tuesday
....
7 if Saturday
Perhaps there is some Extract command for the DOW that I can use in a
simple stored procedure.
Adam