date( datetimeExp )

Read(219) Label: datetime, get date,

Description:

Get the date part of the datetime value.

Syntax:  

date(datetimeExp)

Note:  

The function gets the date part of the datetimeExp.

Parameters:  

datetimeExp

Datetime value

Return value:  

Date type data

Example:

date(now())

2013-12-09

Related functions:

date()

datetime(datetimeExp)

time(datetimeExp)

datetime()

time()