ee.Date.serialize

Returns the serialized representation of this object.

UsageReturns
Date.serialize(legacy)String
ArgumentTypeDetails
this: computedobjectComputedObject

The ComputedObject instance.

legacyBoolean, optional

Enables legacy format.

Examples

Code Editor (JavaScript)

var date = ee.Date('2021-4-30');

print('Serialized representation of ee.Date', date.serialize());