unitMillis#

static geetools.ee_date_range.DateRangeAccessor.unitMillis(unit)#

Get the milliseconds of a unit.

Parameters:

unit (str) – The unit to get the milliseconds. One of: second, minute, hour, day, month, year.

Returns:

The number of milliseconds in the unit

Return type:

ee.Number