Codeunit 8722 Unix Timestamp

System Application, System.DateTime

Source AL, 64 lines

src/System Application/App/Date and Time/src/UnixTimestamp.Codeunit.allines 8 to 23 of 64, Copyright (c) Microsoft Corporation. MIT

codeunit 8722 "Unix Timestamp"{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        UnixTimestampImpl: Codeunit "Unix Timestamp Impl.";    /// <summary>    /// Create a Unix timestamp in seconds for the current date and time    /// </summary>    /// <returns>A Unix timestamp in seconds representing the current date and time</returns>    procedure CreateTimestampSeconds(): BigInteger    begin        exit(CreateTimestampSeconds(CurrentDateTime));

All 64 lines

Public procedures 5 in 29

CreateTimestampSeconds(): BigIntegernew in 25
CreateTimestampSeconds(DateTimeFrom: DateTime): BigIntegernew in 25
CreateTimestampMilliseconds(): BigIntegernew in 25
CreateTimestampMilliseconds(DateTimeFrom: DateTime): BigIntegernew in 25
EvaluateTimestamp(Timestamp: BigInteger): DateTimenew in 25