now#

classmethod geetools.DateAccessor.now()#

Create a date on current date.

Returns:

The current date.

Return type:

ee.Date

Examples

import ee, geetools
from geetools.utils import initialize_documentation

initialize_documentation()

d = ee.Date.geetools.now()
d.format("YYYY-MM-DD").getInfo()
'2024-12-340'