Table of Contents

Date Type

A Date value represents a calendar date — for example, Set Kml Timeline's beginTime and endTime inputs use it to bound the period a georeferenced image applies to within a Kml Timeline. A Date can represent a year alone (YYYY), a year and month (YYYY-MM), or a complete date (YYYY-MM-DD).

GUI Editor

Date Type has no editor. A value can only be obtained through the automatic conversion below, never typed in directly.

EGO Script

For the same reason, Date Type has no literal constant syntax in EGO Script — see Constants. A Date value is obtained through an automatic conversion from Real Value or String wherever a Date Type input is expected:

timeline := SetKmlTimeline {
    kml = georeferencedImage,
    beginTime = "2020-01",
    endTime = "2020-12-31"
};

Automatic Conversions

See Type System for the complete conversion reference across all types.