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
1. Pleasanter 1.1.39.0 or later
1. Pleasanter .NET Framework version 0.50.263 or later
## Syntax
```
utilities.InRange(datetime);
```
## 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.
##### JavaScript
```
if (utilities.InRange(model.DateA)) {
context.Log('In range');
}
```
## Related Information
<div id="ManualList">
<article class="s-blog_list_unit"><h2>
<h2>The specified information was not found.</h2>
<p><a href="/ja/manual">Return to top</a></p>
</article>
</div><input id="SearchTextHidden" type="hidden" value="" />