Gemstone PQDIF Library
Show/Hide TOC

# ObservationRecordStartTime Property

Gets the starting time of the data in the observation record. This time should be used as the base time for all relative seconds recorded in the series instances.

## Definition

Namespace: Gemstone.PQDIF.Logical
Assembly: Gemstone.PQDIF (in Gemstone.PQDIF.dll) Version: 1.0.162 -- Release Build+6f25783b3c71c3250f4e8aa35fa1cc7ad8c62dda
C#
View Source Request Example

    public DateTime StartTime { get; set; }

VB
View Source Request Example

    Public Property StartTime As DateTime
    	Get
    	Set

C++
View Source Request Example

    public:
    property DateTime StartTime {
    	DateTime get ();
    	void set (DateTime value);
    }

JavaScript
View Source Request Example

    function get_StartTime();
    function set_StartTime(value);

#### Property Value

DateTime

## Remarks

The ObservationRecord contains two timestamp fields: StartTime and TimeTriggered. The StartTime is a required part of any Observation, whereas the TimeTriggered is optional. The StartTime does not have to be the same as the trigger time and can therefore be chosen more or less arbitrarily. For instance, you can choose to record the StartTime as the timestamp of the first data point in the observation or the top of an interval in which the data was captured. The trigger time field is more well defined, essentially always representing the point in time at which the data source decided to capture some data in the PQDIF file.

## Exceptions

InvalidDataException | StartTime element not found in observation record.

## See Also

#### Reference

ObservationRecord Class
Gemstone.PQDIF.Logical Namespace