This function is not compatible with "GetDateTime" of jForm since it uses the format 'yyyy-mm-dd hh:mm:ss' for example '2018-10-20 12:45:33'
If you are using FPC 3.1+ add the
clocale unit to your project, the date/time format in FPC should be correct for the current regional settings of the device.