voidOnStart() { //--- 로컬 시간, GMT 및 GMT와 로컬 컴퓨터 시간의 차이를 초 단위로 가져옵니다. datetimetime_local=TimeLocal(); datetimetime_gmt =TimeGMT(); intoffset =TimeGMTOffset(); //--- 얻은 시간 및 오프셋 값을 로그에 표시합니다. PrintFormat("Local Time: %s, GMT Time: %s, Seconds Offset: %+d", (string)time_local, (string)time_gmt, offset); /* 결과: LocalTime: 2024.04.1819:35:52, GMTTime: 2024.04.1812:35:52, SecondsOffset: -25200 */ }