Get current system clock datetime.
A Date object representing current system datetime.
Get current system clock time in milliseconds.
A number representing current system datetime in milliseconds.
Generated using TypeDoc
A
ngservice handles theUIsystem clock logic. TheUIsystem clock is mainly responsible for periodically update the system-wide clock to other components. Using clock provided bythisservice instead of usingsetInterval()orsetTimeout()method may be more benefitial in many circumstances. For example, if you have manyUIcomponents needed to be periodically updated itself in background, withoutthisservice, you may need to usesetTimeout()/setInterval()method for each component. This leads to having poorapplication's performance. In spite of that, you can use thesystem clockprovided bythisservice to let allUIcomponents being updated at the sameclock tickrate. Furthermore,thisservice also provides you a capability to configure itsinterval. So, you can haste up or slow down system-wideUIupdating rate in a single place.shiorin, tee4cute