GetDeadline
This function gets deadline for current case.
Syntax
GetDeadline();
Function arguments
This function does not take any arguments.
Return value
This function returns DateWithTime.
Returns the deadline date. If it is not set, then function returns DateTime.MaxValue
Examples
Example 1:
This will get deadline date for current case and store it in 'deadlineDate’ variable.
deadlineDate = GetDeadline();
Example 2:
This will call ShowMessage with deadline date as message content.
ShowMessage(2,FormatValue(GetDeadline(),"yyyy-MM-dd HH:mm"));