Do not forget that people that live in a different timezone than the one your server is on will most likely find it weird that the 'evening/night theme' would be turned on at like 10AM their time

EDIT: Nice share though
Whoo Reviewed by Whoo on . [php] Time-Based CSS This small snippet will allow you to use different color schemes (CSS stylesheets) depending on the time of the day! Its not a hugely complicated piece of code, but very creative! Most people have never even thought of the idea! <?php // If the time is past seven O'clock then use the night stylesheet instead! if (date('G') > 19 || date('G') < 7) { echo '<link rel="stylesheet" type="text/css" href="/static/css/default_night.css" />'; } else { echo '<link Rating: 5