API Documentation > CorelDRAW > 2025-v26 > CorelScriptTools > ICorelScriptTools
CorelScriptTools.BuildTime method
Build Time
Syntax:
Function BuildTime(ByVal Hour As Long, ByVal Minute As Long, ByVal Second As Long) As Date
Parameters:
Name Type Description
Hour
Long
Minute
Long
Second
Long
Remarks:
The BuildTime method assigns a time value to a date variable.
Examples:
In the following code example, the first line declares the date variable BigDay, and then this variable is assigned the time 2:30 PM.
DIM BigDay AS DATE BigDay = BUILDTIME(14, 30, 0)