PbBlobExtensions.Date(this PbBlob pbBlob) Method
.NET Standard 2.x
Extracts a DateTime from a PbBlob whose first value is a DateTime value.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static DateTime? Date(this PbBlob pbBlob);
Parameters
pbBlob
PowerScript.Bridge.PbBlob
A PbBlob in which the first value is a DateTime value. The rest of the contents of PbBlob is ignored.
Returns
System.DateTime
Returns the DateTime in pbBlob. If pbBlob contains an invalid date or an incompatible datatype, Date returns 1900-01-01. If pbBlob is null, Date returns null.
Examples
Coming soon.
Applies to
.NET Standard
2.x