[ { "choices": [ ], "data_type": "datetime", "default_value": null, "description": "", "display_name": "Date Time", "field_name": "date_time", "is_global": false, "metadata": { "macos": { "extension": "py", "must_exit_zero": true, "replace_line_feed": true, "source": "#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n# FileWave client will execute this script. The output will be used as the value of the custom field.\n# \n# Below is an example of how to read the value of one ENVIRONMENT VARIABLE in your script:\n\n# import os\n# my_var = os.getenv('ENV_VAR_NAME')\n# \n\nimport sys\n\nfrom datetime import datetime\nprint(datetime.today().strftime('%Y-%m-%d %H:%M'))\n\nsys.exit(0)" }, "windows": { "extension": "py", "must_exit_zero": true, "replace_line_feed": true, "source": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n# FileWave client will execute this script. The output will be used as the value of the custom field.\n# \n# Below is an example of how to read the value of one ENVIRONMENT VARIABLE in your script:\n\n# import os\n# my_var = os.getenv('ENV_VAR_NAME')\n# \n\nimport sys\n\nfrom datetime import datetime\nprint(datetime.today().strftime('%Y-%m-%d %H:%M'))\n\nsys.exit(0)" } }, "provider": 1, "to_be_deleted": false, "used_in_workflows": false } ]