Skip to main content

Class TimeStampedRecord

Represents a record that includes a Unix timestamp, indicating when the record was created.

[Serializable]
public class TimeStampedRecord

Inheritance​

Derived​

Remarks​

This class is used to capture the time at which a specific event or entry was recorded, storing the timestamp in Unix format (milliseconds since the Unix epoch, January 1, 1970).

Constructors​

TimeStampedRecord()​

Initializes a new instance of the TimeStampedRecord class. Captures the current time and stores it as a Unix timestamp.

public TimeStampedRecord()

Remarks​

The constructor automatically retrieves the current time and stores it as a Unix timestamp when a new instance of the record is created.

Fields​

unixTimestamp​

The Unix timestamp of the record, representing the exact time when the record was created.

public double unixTimestamp

Field Value​

double

Remarks​

The timestamp is stored in milliseconds since the Unix epoch (January 1, 1970).