Change content based on season with ColdFusion

Posted by geckomist on Stack Overflow See other posts from Stack Overflow or by geckomist
Published on 2010-04-19T16:31:50Z Indexed on 2010/04/20 19:13 UTC
Read the original article Hit count: 211

Filed under:
|
|
|

For ColdFusion I would like to use a cfswitch statement to have different code for each season of the year. For example to display <p>Winter</p> for winter and <p>Summer</p> for summer, etc. What is the best approach to achieve this?

© Stack Overflow or respective owner

Related posts about coldfusion

Related posts about seasonal