|
Description Syntax Return
Datatype Example Migration
Month Function - Visual Basic 6.0
(VB 6.0) |
Returns a Variant (Integer) specifying a whole number
between 1 and 12, inclusive, representing the month of the year. |
|
Syntax: |
Month(date)
Parameter |
Description |
date |
Required. Variant, numeric expression, string expression,
or any combination, that can represent a date. |
|
Return Data type: |
|
Integer |
Example: |
Statement |
Result |
Remark |
Month(Date) |
|
Current System Month |
|
Month(#Feb 28 1990#) |
|
|
|
Month(DateAdd("q", 1, date)) |
|
|
|
Month(1) |
|
from 31/12/1899 |
|
Month(unknown) |
|
from 30/12/1899 |
|
Month(Null) |
Null |
|
|
Month(True) |
12 |
from 29/12/1899 |
|
Month(False) |
12 |
from 30/12/1899 |
 |
|
|
Migration from Visual Basic 6.0 (VB 6.0) to |
|
Month Function in VB Script (VBS) |
|
Month Function in JScript (JS) |
|
Month Function in ASP (Active Server Page) |
|
Month Function in PHP Script |
|
Month Function in MS-Access |
|
Month Function in MS SQL Server |
|
Month Function in Oracle |
|
Month Function in C Language |
|
Month Function in C++ Language |
|
Month Function in Foxpro |
|
Month Function in Fortran |
|
Month Function in MS Excel Sheet |
 |
|
|
|
|