This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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 Type|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 [[ego_script#constants|Constants]]. A Date value is obtained through an automatic conversion from [[Real Value Type|Real Value]] or [[String Type|String]] wherever a Date Type input is expected: <code> timeline := SetKmlTimeline { kml = georeferencedImage, beginTime = "2020-01", endTime = "2020-12-31" }; </code> ===== Automatic Conversions ===== * **Converted from**: [[Real Value Type]] and [[String Type]]. * **Converted to**: None. See [[type_system|Type System]] for the complete conversion reference across all types.