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

SQL Anywhere 11.0.0 » UltraLite - Database Management and Reference » UltraLite SQL Reference » UltraLite SQL function reference » Alphabetical list of functions

 

DAY function [Date and time]

Returns an integer from 1 to 31.

Syntax
DAY( date-expression )
Parameters
  • date-expression   The date.

Remarks

The integers 1 to 31 correspond to the day of the month in a date.

Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statement returns the value 12.

SELECT DAY( '2001-09-12' );