Salesforce

Month (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Month (Magic xpa 4.x)

Returns the month portion of a date.

Syntax:

Month(date)

Parameters:

date: A date input.

Returns:

Number, 1-12

Example:

Month('01/28/1992'Date) returns 1

Note:

The use of the DATE literal following '01/28/1992' should not be confused with the Date() function.

See also:

CMonth, NMonth

How Do I Calculate the Day/Month/Year Portion of a Given Date Value?

The Online and Rich Client Samples projects (program DT14, DT20, RDT14 and RDT20)

Reference
Attachment 
Attachment