js
alert(new Date( new Date().getUTCFullYear(), new Date().getUTCMonth(), new Date().getUTCDate(), new Date().getUTCHours(), new Date().getUTCMinutes(), new Date().getUTCSeconds() ));
java
OffsetDateTime.now(ZoneOffset.UTC).toLocalTime();
js
alert(new Date( new Date().getUTCFullYear(), new Date().getUTCMonth(), new Date().getUTCDate(), new Date().getUTCHours(), new Date().getUTCMinutes(), new Date().getUTCSeconds() ));
java
OffsetDateTime.now(ZoneOffset.UTC).toLocalTime();