GlideDateTime.getValue doesn't work correctly when using variable substitutionDescriptionGlideDateTime.getValue API does not work correctly when using variable substitutionsSteps to Reproduce 1. HOP into demonightlyLondon2. Go to System - Definition -> Scripts - Background3. Run the following Scriptvar gdt = new GlideDateTime();gs.debug('typeof gdt.getValue(): {0}', typeof gdt.getValue());gs.debug('Sample message using concatenation: ' + gdt.getValue());gs.debug('Sample message using substitution: {0}', gdt.getValue());Expected behavior: The third gs.debug statement should print the value of the variable after substitution.Actual behavior: The following message is printed out.*** Script: [DEBUG] Sample message using substitution: org.mozilla.javascript.NativeJavaObject@7629855eWorkaroundThe feature is working as expected as per currently supported functionality. A possible option that could be used is to append the function call with an empty string similar to below example: gs.debug('Substitution: {0}', gdt.getValue()+'');Related Problem: PRB1319836