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"));
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.