Main menu
Products
Show submenu for Products
PROMOTIC SCADA software
PROMOTIC platform applications
Application references
LUMEL Product Overview
Industries
Downloads
Price list
Documentation
Show submenu for Documentation
Documentation
YouTube videos
About
Show submenu for About
About
External Cooperation
Certificates
Contact
Show submenu for Contact
Quick Contact
Contact details
Distributors
System integrators
CS
EN
PL
Search box
Search article
Licence order
EN
CS
EN
PL
Month -
function
of language
VBScript
Description:
Month (integer 1-12).
Syntax:
Integer
Month
(
Date
date
)
Parameters:
date
(
Date
)
Date and time
See also:
-
VBScript.Day
(function)
-
VBScript.Weekday
(function)
-
VBScript.Year
(function)
-
VBScript
date and time
functions
-
PmDateObject.GetMonth
(method)
-
Pm
date and time
methods
Example:
VBScript
Select and copy to clipboard
Dim
tDate
,
nMonth
tDate
=
Now
()
nMonth
=
Month
(
tDate
)
PROMOTIC 9.0.36
SCADA system documentation MICROSYS, spol. s r.o.
Send page remark
Contact responsible person
Navigation:
-
Documentation contents
-
Scripting Languages
-
VBScript
-
Functions VBScript
-
Abs
-
Array
-
Asc
-
Atn
-
CBool
-
CByte
-
CDate
-
CDbl
-
Chr
-
CInt
-
CLng
-
Cos
-
CreateObject
-
CSng
-
CStr
-
Date
-
DateAdd
-
DateDiff
-
DatePart
-
DateSerial
-
DateValue
-
Day
-
Eval
-
Exp
-
Filter
-
Fix
-
FormatDateTime
-
FormatNumber
-
FormatPercent
-
GetObject
-
Hex
-
Hour
-
InputBox
-
InStr
-
InstrRev
-
Int
-
IsArray
-
IsDate
-
IsEmpty
-
IsNull
-
IsNumeric
-
IsObject
-
Join
-
LBound
-
LCase
-
Left
-
Len
-
Log
-
LTrim
-
Mid
-
Minute
-
Month
-
MonthName
-
MsgBox
-
Now
-
Oct
-
Replace
-
RGB
-
Right
-
Rnd
-
Round
-
RTrim
-
Second
-
Sgn
-
Sin
-
Space
-
Split
-
Sqr
-
StrComp
-
String
-
StrReverse
-
Tan
-
Time
-
TimeSerial
-
TimeValue
-
Trim
-
TypeName
-
UBound
-
UCase
-
VarType
-
Weekday
-
WeekdayName
-
Year