Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » SQL Functions » Alphabetical list of functions

DAY function [Date and time] Next Page

DAYNAME function [Date and time]


Returns the name of the day of the week from a date.

Syntax

DAYNAME( date-expression )

Parameters

date-expression    The date.

Remarks

The English names are returned as: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.

Standards and compatibility
Example

The following statement returns the value Saturday.

SELECT DAYNAME ( '1987/05/02' );