Hm, the time is not wrong, it is the UTC time, not the local time which of course is not what a user usually wants on inserting current date/time.
UltraEdit for Windows has in menu
Advanced the menu item
DOS command to run from within UltraEdit Windows command processor
cmd.exe with the specified command (line) and capture the output into a new file. In other words on Windows the user can click on
Advanced - DOS command, enter command
set, click on button
OK and get displayed in a new edit window all environment variables set for UltraEdit process. I suppose there is something similar in UEX to execute a shell command from within UEX. Otherwise configure quickly a user tool which executes
printenv with capturing output to a new file.
There is
Ubuntu Environment Variables listing the predefined environment variables on Ubuntu like
LC_TIME. I found also this page
Time Zones: TZ vs tzselect vs timedatectl on which the questioner did not get any answer unfortunately. More helpful could be the page:
How to set or change timezone on Ubuntu 18.04?
I have just read on UltraEdit for Windows help page
Settings:File handling:Encoding that the configured locale determines also date/time format on using command
Date/time. But this is
not true on Windows 7 with currently latest UltraEdit for Windows according to my tests. I get the date and time inserted always in format as defined in Windows 7 date/time format settings independent on which locale is configured in settings of UltraEdit. I don't know if UEX has a locale setting in
Preferences at all.
Please note that this is a user-to-user forum and I am a user without Ubuntu nor any other Linux. There are not many UEX users visiting frequently the forums which is the reason why I replied at all although not using Ubuntu 18.04 and UEX. You may ask IDM support by email for help on this issue. See
technical support page which could be more promising on this issue.