Returns an integer from 1 to 31 corresponding to the day of the month of the date specified.
DAY ( date-expression )
date-expression The date.
The following statement returns the value 12:
SELECT DAY( '2001-09-12' ) FROM iq_dummy
SQL Vendor extension to ISO/ANSI SQL grammar.
Sybase Compatible with Adaptive Server Enterprise.