Time
Last updated
Was this helpful?
Was this helpful?
// Qλ₯Ό λλ₯΄λ©΄ λμνλ ν¨μ
App.addOnKeyDown(KeyCodeType.q, (player)=>{
player.sendMessage(`UTC Time: ${Time.getUtcTime()}`);
});// Qλ₯Ό λλ₯΄λ©΄ λμνλ ν¨μ
App.addOnKeyDown(KeyCodeType.q, (player)=>{
const currentTime = Time.getTime();
const utcTime = Time.getUtcTime();
player.sendMessage(`timeInterval: ${Time.getTimeInterval(currentTime, utcTime, DateType.MILLISECONDS)}`);
})