ScriptDate

 

Interprets the result of a script as date. This function is not available for all applications.

Parameter:

String               Script language (e.g. 'CSharpScript', 'VBScript')

String               Code

Boolean                       (optional) Function

Return value:

Date

Example:

ScriptDate("CSharpScript", "WScript.Result=new DateTime(1971,10,25);")