PDA

View Full Version : Is there an if statement for the time of day?


Spank
04-12-2009, 06:56 PM
I need an if statement for the time of day to go in a template something like

<if condition="time <12:00">

Is there anything like that?

Thank ye muchly.

Dismounted
04-13-2009, 04:52 AM
You will most likely need to create a plugin to generate a time like that (using the date function). After that though, you will be able to use template conditionals.