Description
Sets the second on the Date object. This is a member function called by the Date object.
Returns
DateObject
History
New in Adobe ColdFusion (2016 release)
Category
Syntax
Description
Sets the second on the Date object. This is a member function called by the Date object.
Returns
DateObject
History
New in Adobe ColdFusion (2016 release)
Category
Syntax
setSecond(second)
Parameter | Description |
second | Required. An integer representing the seconds. Expected values are 0-59, but other values are allowed:
|
<cfscript> myDate=now(); WriteOutput(myDate.setSecond(55)); </cfscript>