Developer Function: Server Script: utilities.InRange
Overview¶
Check whether the datetime specified in the "Server Script" is within the valid range of dates and times that Pleasanter can handle.
Supported Versions¶
- Pleasanter 1.1.39.0 or later
- Pleasanter .NET Framework version 0.50.263 or later
Syntax¶
Parameter¶
| Parameter | Type | Required | Overview |
|---|---|---|---|
| datetime | DateTime | Yes | Datetime |
Return Value¶
Return a boolean value indicating whether the range is valid.
Usage Example¶
In the following example, a log will be output if DateA contains a valid datetime.