informix
INFORMIX-ESQL/C Programmer's Manual
ESQL/C Function Library

rdayofweek()

The rdayofweek() function returns the day of the week as an integer value for an internal DATE.

Syntax

Return Codes

0 Sunday
1 Monday
2 Tuesday
3 Wednesday
4 Thursday
5 Friday
6 Saturday

Example

The demo directory contains this sample program in the rdayofweek.ec file.

Output


INFORMIX-ESQL/C Programmer's Manual, Version 9.21
Copyright © 1999, Informix Software, Inc. All rights reserved