Difference between revisions of "MONTH()"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
 
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to return month from a specified date or datetime
 
Function to return month from a specified date or datetime
 
  
 
==Syntax==
 
==Syntax==
 
MONTH(<expD> | <expT>)
 
MONTH(<expD> | <expT>)
 
  
 
==See Also==
 
==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]]
 
[[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==
 
==Description==
 
The MONTH() function returns the numeric month of the year from the given date expression <expD> or datatime expression <expT>.
 
The MONTH() function returns the numeric month of the year from the given date expression <expD> or datatime expression <expT>.
 
  
 
==Example==
 
==Example==
Line 22: Line 18:
 
         10
 
         10
 
</code>
 
</code>
 
  
 
==Products==
 
==Products==

Latest revision as of 13:00, 11 December 2012

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