Gavinmc42 wrote:When saving the screenshot image no timestamp is on the file.
It's related to the fact that the time has not been set (no NTP or RTC) and the different layers of the system think about time differently from each other.
To resolve it you can either include the NTP client (Services unit) or add a supported RTC chip or simply set the time manually to some known value, the reason for the "blank" time is because of the different ways time is encoded between different components.
Ultibo internally uses TFileTime which is 100 nanosecond intervals since 1 January 1601 (this is the same format as Windows file time).
Free Pascal uses a time format (TDateTime) that begins at 31 December 1899.
The FAT filesystem uses the DOS time format which begins at 1 January 1980 instead.
When Ultibo boots it sets the internal time to 31 December 1899 as a starting point and expects that NTP or RTC will set it to the correct value shortly, if that doesn't happen then this is before the start of DOS time so the value recorded against any files created will be zero which will appear in Windows as a blank.
I have thought about the idea of setting the starting default to 1 January 2000 or something which would then be a valid time in all of the encoded formats, does anyone remember what the "default" time and date value is for the BIOS in a modern PC?