 
 
 ![DAY function [Date and time]](gif/backward.gif) 
 ![DAYS function [Date and time]](gif/forward.gif) 
 ASA SQL Reference
  SQL Functions
    Alphabetical list of functions
Returns the name of the day of the week from the a date.
DAYNAME( date-expression )
date-expression The date.
SQL/92 Vendor extension.
SQL/99 Vendor extension.
Sybase Not supported by Adaptive Server Enterprise.
The following statement returns the value Saturday.
SELECT DAYNAME ( '1987/05/02' )
 
 
 ![DAY function [Date and time]](gif/backward.gif) 
 ![DAYS function [Date and time]](gif/forward.gif)