Month() - get the month value from a date time object
Month.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Month function example: how to get the month value from a date time object</title>
</head>
<body>
<h2 style="color:hotpink">Month Function Example</h2>
<cfoutput>
<b>
Now: #Now()#
<br />
Month Number: #Month(Now())#
</b>
</cfoutput>
</body>
</html>
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAb34XGC6W5QkrzTv8ik0zorqoqZYK7XtT52bSGnX8nVw70J0ld-6__6cOyBVAJjvUv4r0BzS3KHsQgzAhYzep8oRP2yupFoploao8DC3BvyFDZr6PcG9cz13dQqNcVtTyuM5V9ln_Z28/s1600/Month.gif)