Datetime Constructor (Int32, Int32, Int32, Int32, Int32, Int32, Int32) |
Creates Datetime object having the Date and Time portions set to the
specified values. The timezone offset is in the unset state.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.19.2.1
Syntax public Datetime(
int year,
int month,
int dayOfMonth,
int hour,
int minute,
int second,
int milliSecond
)
Public Sub New (
year As Integer,
month As Integer,
dayOfMonth As Integer,
hour As Integer,
minute As Integer,
second As Integer,
milliSecond As Integer
)
public:
Datetime(
int year,
int month,
int dayOfMonth,
int hour,
int minute,
int second,
int milliSecond
)
new :
year : int *
month : int *
dayOfMonth : int *
hour : int *
minute : int *
second : int *
milliSecond : int -> Datetime
Parameters
- year
- Type: SystemInt32
The year. - month
- Type: SystemInt32
The month between 1-12. - dayOfMonth
- Type: SystemInt32
The day of the month between 1-31. - hour
- Type: SystemInt32
The hour of the day between 0-23. - minute
- Type: SystemInt32
The minute between 0-59. - second
- Type: SystemInt32
The second between 0-59. - milliSecond
- Type: SystemInt32
The millisecond between 0-999.
See Also