Bloomberg API for .NET
SetDatetime Method (year, month, dayOfMonth, hour, minute, second, milliSecond)
NamespacesBloomberglp.BlpapiDatetimeSetDatetime(Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Sets the date, time and portions of this Datetime object to the specified values.
Declaration Syntax
C#Visual BasicVisual C++
public void SetDatetime(
	int year,
	int month,
	int dayOfMonth,
	int hour,
	int minute,
	int second,
	int milliSecond
)
Public Sub SetDatetime ( 
	year As Integer,
	month As Integer,
	dayOfMonth As Integer,
	hour As Integer,
	minute As Integer,
	second As Integer,
	milliSecond As Integer
)
public:
void SetDatetime(
	int year, 
	int month, 
	int dayOfMonth, 
	int hour, 
	int minute, 
	int second, 
	int milliSecond
)
Parameters
year (Int32)
The year.
month (Int32)
The month between 1-12.
dayOfMonth (Int32)
The day of the month between 1-31.
hour (Int32)
The hour of the day between 0-23.
minute (Int32)
The minute between 0-59.
second (Int32)
The second between 0-59.
milliSecond (Int32)
The millisecond between 0-999.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1