The following bit of code will allow you to schedule content between two dates set in php. So if you want to have say an announcement show up on your website and a certain date and then disappear after another date you can set that up using this code.
$start_ts) { ?>
Announcement Goes Here