Sunblood Posted March 13, 2021 Share Posted March 13, 2021 (edited) I'm trying to do some date/time operations based on results from _EventLog__Read(), which returns a date/time of an event in the localized time format (dd/mm/yyyy vs mm/dd/yyyy and 12hr vs 24h clock.) What can I use to figure out what format the OS/Event Viewer is using so I can appropriately convert the timestamp into a more manageable YYYYMMDD HHMMSS format? I've looked through the Date UDFs but haven't found anything that would accomplish this. Edited March 13, 2021 by Sunblood Link to comment Share on other sites More sharing options...
Nine Posted March 13, 2021 Share Posted March 13, 2021 After looking at the _EventLog__Read code, it seems that it generates a static date/time format. You can use this to convert it in the format of your choice : “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now