Planned maintenance: From Sunday 8th December 10:00 CET there will be changes to try and solve the caching issues that have been experienced. If anyone has a problem connecting after this period then please PM @AndyS or any of the moderators.
Qt Installer Script - How to get current date and time
stvokr last edited by
I wonder how I can retrieve the current date and time in the installscript.qs.
I want to backup an existing data folder with
component.addOperation( "Execute", "tar", "cfz", dataFolder + ".tar.gz", dataFolder );
and this solution already works. But now I want to add a date/time stamp before the extension, e.g. "dataFolder.2019-01-11_11-18-00.tar.gz" or as ISO-Date.
Is there anyway to get the current date and time?