Contents Index DATALENGTH function [System] DATEADD function [Date and time]

ASA SQL Reference
  SQL Functions
    Alphabetical list of functions

DATE function [Date and time]


Function 

Converts the expression into a date, and removes any hours, minutes or seconds.

Syntax 

DATE ( expression )

Parameters 

expression    The value to be converted to date format. The expression is usually a string.

Standards and compatibility 
Example 

The following statement returns the value 1999-01-02 as a date.

SELECT DATE( '1999-01-02 21:20:53' )

Contents Index DATALENGTH function [System] DATEADD function [Date and time]