Sadly most of javascript based time elements are derived from the users host system, making it very volnurable for client side time manipulation.
If you have online availability in your app, you can get your time from some server by means of an ajax call.
If the app is launched from an embedded situation, you could perhaps pass the current time in the url, but this is also susceptable to manipulation if a client is able to launch the app with its own url.