KmlDateTime Interface Reference

Inherits KmlObjectPartial.

List of all members.

Public Member Functions

void set (string date)
string get ()

Detailed Description

Represents a specific point in time. The plugin accepts time in this format only; it does not accept JavaScript date or time objects.

Member Function Documentation

void KmlDateTime.set ( string  date)

Set the date. Accepts only XML Schema time (see XML Schema Part 2: Datatypes Second Edition). The value can be expressed as yyyy-mm-ddThh:mm:sszzzzzz, where T is the separator between the date and the time, and the time zone is either Z(for UTC) or zzzzzz, which represents +/-hh:mm in relation to UTC. Additionally, the value can be expressed as a date only.

string KmlDateTime.get ( )

Returns the date and time in XML Schema time format.

Send feedback about...

Google Earth API (Deprecated)