DateTimeHelper:Create ( method-parameters )
|
Method overload syntax
|
Description
|
Create( INPUT ticks AS INT64 )
|
Returns a DATETIME initialized to a specified number of ticks (time values measured in 100-nanosecond units)
|
Create( INPUT ticks AS INT64,
INPUT kind AS System.DateTimeKind ) |
Returns a DATETIME initialized to a specified number of ticks and to Coordinated Universal Time (UTC) or local time
|
Create( INPUT year AS INTEGER,
INPUT month AS INTEGER, INPUT day AS INTEGER ) |
Returns a DATETIME initialized to the specified year, month, and day
|
Create( INPUT year AS INTEGER,
INPUT month AS INTEGER, INPUT day AS INTEGER, INPUT calendar AS System.Globalization.Calendar ) |
Returns a DATETIME initialized to the specified year, month, and day for the specified calendar
|
Create( INPUT year AS INTEGER,
INPUT month AS INTEGER, INPUT day AS INTEGER, INPUT hour AS INTEGER, INPUT minute AS INTEGER, INPUT second AS INTEGER ) |
Returns a DATETIME initialized to the specified year, month, day, hour, minute, and second
|
Create( INPUT year AS INTEGER,
INPUT month AS INTEGER, INPUT day AS INTEGER, INPUT hour AS INTEGER, INPUT minute AS INTEGER, INPUT second AS INTEGER, INPUT calendar AS System.Globalization.Calendar ) |
Returns a DATETIME initialized to the specified year, month, day, hour, minute, and second for the specified calendar
|
Create( INPUT year AS INTEGER,
INPUT month AS INTEGER, INPUT day AS INTEGER, INPUT hour AS INTEGER, INPUT minute AS INTEGER, INPUT second AS INTEGER, INPUT kind AS System.DateTimeKind ) |
Returns a DATETIME initialized to the specified year, month, day, hour, minute, and second and to Coordinated Universal Time (UTC) or local time
|
Create( INPUT year AS INTEGER,
INPUT month AS INTEGER, INPUT day AS INTEGER, INPUT hour AS INTEGER, INPUT minute AS INTEGER, INPUT second AS INTEGER, INPUT millisecond AS INTEGER ) |
Returns a DATETIME initialized to the specified year, month, day, hour, minute, second, and millisecond
|
Create( INPUT year AS INTEGER,
INPUT month AS INTEGER, INPUT day AS INTEGER, INPUT hour AS INTEGER, INPUT minute AS INTEGER, INPUT second AS INTEGER, INPUT millisecond AS INTEGER, INPUT calendar AS System.Globalization.Calendar ) |
Returns a DATETIME initialized to the specified year, month, day, hour, minute, second, and millisecond for the specified calendar
|
Create( INPUT year AS INTEGER,
INPUT month AS INTEGER, INPUT day AS INTEGER, INPUT hour AS INTEGER, INPUT minute AS INTEGER, INPUT second AS INTEGER, INPUT millisecond AS INTEGER, INPUT kind AS System.DateTimeKind ) |
Returns a DATETIME initialized to the specified year, month, day, hour, minute, second, and millisecond and to Coordinated Universal Time (UTC) or local time
|
Create( INPUT year AS INTEGER,
INPUT month AS INTEGER, INPUT day AS INTEGER, INPUT hour AS INTEGER, INPUT minute AS INTEGER, INPUT second AS INTEGER, INPUT millisecond AS INTEGER, INPUT calendar AS System.Globalization.Calendar, INPUT kind AS System.DateTimeKind ) |
Returns a DATETIME initialized to the specified year, month, day, hour, minute, second, and millisecond for the specified calendar and to Coordinated Universal Time (UTC) or local time
|
USING Progress.Util.* FROM ASSEMBLY.
DEFINE VARIABLE aDateTime AS DATETIME NO-UNDO. aDateTime = DateTimeHelper:Create( 1986, 7, 28 ). Display aDateTime. |