MONTH()

From Lianjapedia
Revision as of 00:06, 8 December 2012 by Admin (Talk | contribs)

Jump to: navigation, search

Purpose

Function to return month from a specified date or datetime


Syntax

MONTH(<expD> | <expT>)


See Also

CDOW(), CMONTH(), CTOD(), DATE(), DATETIME(), DAY(), DAYS(), DMY(), DOW(), DTOC(), DTOM(), DTOS(), DTOV(), EPOCH(), GOMONTH(), MDY(), MTOD(), QUARTER(), STOD(), VTOD(), WEEK(), YEAR(), SET CENTURY, SET DATE, SET EPOCH, SET HOURS, SET MARK


Description

The MONTH() function returns the numeric month of the year from the given date expression <expD> or datatime expression <expT>.


Example

? month(date())
        10
? month(datetime())
        10


Products

Lianja, Lianja Server