For the complete experience, please enable JavaScript in your browser. Thank you!
Adobe Community Help
Contact support
Description
Sets the month on the Date object. This is a member function called by the Date object.
Returns
DateObject
History
New in Adobe ColdFusion (2016 release)
Category
Date and time functions
Syntax
setMonth (month)
<cfscript> myDate=now(); WriteOutput(myDate.setMonth(10)); </cfscript>
Twitter™ and Facebook posts are not covered under the terms of Creative Commons.
Legal Notices | Online Privacy Policy