Destiny129 Posted October 17, 2020 Share Posted October 17, 2020 I wonder how it looks at the time. Example as in the picture , Can you advise me ? thank [2020.10.16-10.58.26:431][628]Log file open, 10/16/20 17:58:26 - 2020.10.16 = I get this - 10.58.26:431 = I didn't get it while it mean - Log file open, 10/16/20 17:58:26 = I get this is my time zone in my server [2020.10.16-12.13.38:211][769]2020.10.16_12.13.38: Shuff1e. (Human): 1920 - 1920 = It mean i my time zone but 12.13.38 what it mean Link to comment Share on other sites More sharing options...
Larkfields Posted October 17, 2020 Share Posted October 17, 2020 3 hours ago, Destiny129 said: - 10.58.26:431 = I didn't get it while it mean That's the time of day. 10:58 and 26 seconds. 431 is probably milliseconds. 3 hours ago, Destiny129 said: [2020.10.16-12.13.38:211][769]2020.10.16_12.13.38: Shuff1e. (Human): 1920 - 1920 = It mean i my time zone but 12.13.38 what it mean 12.13.38 is the time of the event. 12:13 and 38 seconds. If you look at the date/time string: 2020.10.16_12.13.38 You have YYYY.MM.DD_HH.MM.SS Link to comment Share on other sites More sharing options...
Destiny129 Posted October 18, 2020 Author Share Posted October 18, 2020 Why does the time in the game not match the real time on the server? On 10/17/2020 at 3:43 PM, Larkfields said: That's the time of day. 10:58 and 26 seconds. 431 is probably milliseconds. 12.13.38 is the time of the event. 12:13 and 38 seconds. If you look at the date/time string: 2020.10.16_12.13.38 You have YYYY.MM.DD_HH.MM.SS Link to comment Share on other sites More sharing options...
Volunteer Moderator invincibleqc Posted October 18, 2020 Volunteer Moderator Share Posted October 18, 2020 1 hour ago, Destiny129 said: Why does the time in the game not match the real time on the server? Server logging internally uses FDateTime::UtcNow which states: Quote Gets the UTC date and time on this computer. This method returns the Coordinated Universal Time (UTC), which does not take the local computer's time zone and daylight savings settings into account. It should be used when comparing dates and times that should be independent of the user's locale. To get the date and time in the current locale, use Now() instead. Link to comment Share on other sites More sharing options...
Destiny129 Posted October 20, 2020 Author Share Posted October 20, 2020 On 10/18/2020 at 6:38 PM, invincibleqc said: Server logging internally uses FDateTime::UtcNow which states: can you explain more i dont understand for how to setting this Link to comment Share on other sites More sharing options...
Larkfields Posted October 20, 2020 Share Posted October 20, 2020 8 minutes ago, Destiny129 said: can you explain more i dont understand for how to setting this That's not a setting. That's how the server determines the current date and time. Link to comment Share on other sites More sharing options...
Destiny129 Posted October 20, 2020 Author Share Posted October 20, 2020 13 minutes ago, Larkfields said: That's not a setting. That's how the server determines the current date and time. Can we set the recording time in the game to match the real time? , Can or Cant ? Link to comment Share on other sites More sharing options...
Larkfields Posted October 20, 2020 Share Posted October 20, 2020 Just now, Destiny129 said: In conclusion, we can set a time log. To match the time on the server? See https://docs.unrealengine.com/en-US/API/Runtime/Core/Misc/FDateTime/UtcNow/index.html FDateTime::UtcNow is a function call the programmers use to obtain the current date and time. You can't change this unless you're a programmer on WildCard's team. Or (I suppose) if you live in a timezone that happens to use UTC, then your Ark logs will show your local time 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.