PbGlobal.Date(int? year, int? month, int? day) Method
.NET Standard 2.x
Combines numbers representing the year, month, and day into a date value.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static DateTime? Date(int? year, int? month, int? day);
Parameters
year System.Int32
The 4-digit year (1 to 9999) of the date.
month System.Int32
The 1- or 2-digit int for the month (1 to 12) of the year.
day System.Int32
The 1- or 2-digit int for the day (1 to 31) of the month.
Returns
System.DateTime
Returns the DateTime specified by the int for year, month, and day as a DateTime datatype. If any value is invalid (out of the range of values for dates), Date will throw exceptions. If any argument's value is null, Date returns null.
Examples
Coming soon.
Applies to
.NET Standard
2.x