Date and time in default value for global variable in Upload form

Hi,

I would like to set the current timestamp expressed as date and time as the default value of a global variable.

 {
      "name": "g_master_material_file_name",
      "type": "string"
      "default": "my_default_name"

    }

This global variable would then be used as the default file name with that a CSV/Excel file is uploaded to the system via a data-upload-form in an app.

Actually, this kinda got solved already. I completely dropped the “default” property, and resorted to using a plain app global variable as a file name. When the file name already exists, the date and time is automatically appended to the file name.