Returns a high resolution timestamp in microseconds if supported by the environment, otherwise in milliseconds. The timestamp is based on 01/01/1970 00:00:00 (UNIX epoch) as float with microsecond precision or with millisecond precision, if high resolution timestamps are not available. The fractional part of the timestamp represents fractions of a millisecond. Converting to a Date
is possible by using require(["sap/base/util/now"], function(now){new Date(now());}
Param | Type | Default Value | Description |
---|
Method | Description |
---|