Created on 24 March 2018
icon_unfollowing
Login to follow
unix-timestamp

Unix Timestamp

Stable version 1.1.0 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 24 March 2018 by 
unix-timestamp

Unix Timestamp

Details
Simple function that returns current unix timestamp in milliseconds
Read more

Add dependences to your project

The logic

Integration Studio:

Code:

using System;
using System.Collections;
using System.Data;
using OutSystems.HubEdition.RuntimePlatform;
using OutSystems.RuntimePublic.Db;

namespace OutSystems.NssUnixTimestamp {

public class CssUnixTimestamp: IssUnixTimestamp {

/// <summary>
///  This exension converts unix timestamp of current moment in milliseconds
/// </summary>
/// <param name="ssResult"></param>
public void MssReturnUnixTimestamp(out string ssResult) {
            var Timestamp = (long)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalMilliseconds;
                ssResult = Timestamp.ToString();
} // MssReturnUnixTimestamp


} // CssUnixTimestamp

}
 // OutSystems.NssUnixTimestamp

Release notes (1.1.0)
Reviews (0)
Category
User interface, Date, time & calendar
Tags
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
Unix Timestamp has no dependencies.
Application Objects
Unix Timestamp has 0 AOs.
Team
Compatible with
Version 11
Version 10
Stack:
.NET
Database:
All
Asset consumers
No consumers yet.
Weekly downloads