Day (as a full text representation of the day of the week)
Code:
[[(date("l"))==Saturday]]Today is Saturday[[/(date("l"))==Saturday]]
Month (full text representation of the month)
Code:
[[(date("F"))==October]]This is the month of October[[/(date("F"))==October]]
Year (four digits)
Code:
[[(date("Y"))==2007]]This is the year 2007[[/(date("Y"))==2007]]
Whether it's a.m. or p.m. (must use capital letters)
Code:
[[(date("A"))==AM]]It's morning[[/(date("A"))==AM]]
if it's a certain hour (using 24 hour format without leading zeros)
Code:
[[(date("G"))==0]]It's way too early in the morning[[/(date("G"))==0]]
if it's a certain hour or later (using 24 hour format without leading zeros)
Code:
[[(date("G"))>=10]]You're late for breakfast[[/(date("G"))>=10]]
So I think this will work for you, though I haven't tested it yet:
Code:
[[(date("G"))>=14 AND (date("G"))<=17]] It's between three p.m. and five p.m., time to get ready for dinner[[/(date("G"))>=14 AND (date("G"))<=17]]
You can find more
parameters that should work with the date function in the PHP manual.