Identifier.UnixTime

Static Method in Identifier

Declaration

public static long UnixTime()

Description

Creates an identifier based on unix time. Since time is always increasing, this value will be different than generations made in previous cycles. This should not be used to guarantee uniqueness since ids generated within the same cycle will usually be identical.

Returns

longThe generated identifier.