Skip to content

Developer Function: Server Script: utilities.MinTime

Overview

In "Server Script" returns the minimum date and time in local time in UTC.

Syntax

utilities.MinTime()

Parameters

There are no parameters.

Return Value

Returns the minimum date and time in local time (the date and time specified in MinTime in "Set Parameter: General.json") in UTC. If MinTime is "1900/1/1", "1899/12/31 15:00:00" is returned.

Usage Example

In the following example, the minimum date and time is entered into Date A. In the server script, the UTC date and time "1899/12/31 15:00:00" is assigned, but after the server script ends, the local time converted date and time "1900/01/01 00:00:00" is set in Date A.

JavaScript
model.DateA = utilities.MinTime();

Notes

This is a method used in "Server Script". It cannot be used in "Script".

Supported Versions

Supported Versions Body
1.4.15.0 or later Added function