Difference between revisions of "Manuals/calci/MONTH"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify"> Syntax </div></div> ---- <div id="2SpaceContent" align="left"><div class="ZEditBox" align=...")
 
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
<div style="font-size:30px">'''MONTH(Value)'''</div><br/>
 +
*<math>Value</math> is the serial number of the month.
 +
**MONTH(), converts a serial number to a month.
  
Syntax
+
==Description==
 +
*This function gives the month of a given date represented by a serial number.
 +
*In <math>MONTH(Value)</math>, <math>Value</math> is the serial number of the month or we can give the date value in[[Manuals/calci/DATE  | DATE ]]  function format.
 +
*MONTH("2/1/1997") for  2nd month.
 +
*The result of the function is an integer 1 to 12(January to December).
  
</div></div>
+
==ZOS==
----
+
*The syntax is to find the month of the given serial number in ZOS is <math>MONTH(Value)</math>.
<div id="2SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
**<math>Value</math> is the serial number of the month.
 +
*For e.g.,MONTH(54178),MONTH(4000),MONTH("10/4/2014")
  
Examples
+
==Examples==
 +
#=MONTH(32786) = 10
 +
#=MONTH(74562) = 2
 +
#=MONTH("9/1/1999") = 9
 +
#=MONTH("20-may-2004") = 5
  
</div></div>
+
==Related Videos==
----
 
<div id="8SpaceContent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman">''''''''''''<font size="6"> </font>''' '''''''''</font>'''</div></div>
 
----
 
<div id="11SpaceContent" align="left"><div class="ZEditBox mceEditable" align="justify">
 
  
<font size="5">Description</font>
+
{{#ev:youtube|HveRi5_lSMU|280|center|MONTH}}
  
</div></div>
+
==See Also==
----
+
*[[Manuals/calci/DAY  | DAY ]]
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"><font size="6" face="Arial, sans-serif"><font size="6">'''MONTH '''</font></font>
+
*[[Manuals/calci/DATE  | DATE ]]
 +
*[[Manuals/calci/YEAR | YEAR ]]
  
'''<font size="6" face="Arial"></font>'''
+
==References==
 +
*[https://exceljet.net/excel-functions/excel-month-function Month]
  
</div></div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"> 
 
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">'''MONTH'''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">(</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">'''sn)'''</font></font></font>
 
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">where sn </font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">is the date of the month .</font></font></font>
+
*[[Z_API_Functions | List of Main Z Functions]]
  
</div></div>
+
*[[ Z3 |  Z3 home ]]
----
 
<div id="1SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"> 
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">This function gives the month of a date represented by a serial number. </font></font></font>
 
 
 
</div></div>
 
----
 
<div id="9SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"> 
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">Let's see an example in Column1Row1</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">C1R1 = 26-Jan-1950</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">I.e. =MONTH(C1R1) is 1</font></font></font>
 
 
 
</div></div>
 
----
 
<div id="5SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE6" class="SpreadSheet blue"
 
|- class="even"
 
| class=" " |
 
| Column1
 
| Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class=" " | 26-JAN-1950
 
| class="sshl_f" | 1
 
| class="                    " |
 
| class=" " |
 
|- class="even"
 
| class="  " | Row2
 
| class="                                              " |
 
| class="f52543                                            " |
 
| class="  SelectTD" |
 
<div id="5Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="5Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
| class=" " |
 
|- class="odd"
 
| Row3
 
| class="  " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| Row4
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="odd"
 
| class=" " | Row5
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| Row6
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|}
 
 
 
<div align="left">[[Image:calci1.gif]]</div></div>
 
----
 

Latest revision as of 14:33, 9 July 2018

MONTH(Value)


  • is the serial number of the month.
    • MONTH(), converts a serial number to a month.

Description

  • This function gives the month of a given date represented by a serial number.
  • In , is the serial number of the month or we can give the date value in DATE function format.
  • MONTH("2/1/1997") for 2nd month.
  • The result of the function is an integer 1 to 12(January to December).

ZOS

  • The syntax is to find the month of the given serial number in ZOS is .
    • is the serial number of the month.
  • For e.g.,MONTH(54178),MONTH(4000),MONTH("10/4/2014")

Examples

  1. =MONTH(32786) = 10
  2. =MONTH(74562) = 2
  3. =MONTH("9/1/1999") = 9
  4. =MONTH("20-may-2004") = 5

Related Videos

MONTH

See Also

References