Christmas

About Christmas

<?php // Set your local timezone date_default_timezone_set('America/New_York'); $current_year = date('Y'); $christmas = mktime(0, 0, 0, 12, 25, $current_year); $today = time(); // If Christmas passed this year, look to next year if ($today > $christmas) { $christmas = mktime(0, 0, 0, 12, 25, $current_year + 1); } $difference = $christmas - $today; $days_left = ceil($difference / 86400); if ($days_left == 0) { print '

Merry Christmas!

'; } else { print '

There are ' . $days_left . ' days until Christmas!

'; } ?>

Browse all poems and texts published on Christmas

Christmas Poems



Popular African-American Poets

  • Elizabeth Alexander
    Elizabeth Alexander is an afro-american poet, writer and ...
  • Paul Blackburn
    Paul Blackburn (November 24, 1926 – September 13, 1971) was ...
  • Henry Clay Work
    Henry Clay Work was an american composer and songwriter. In ...
  • Ellen Bass
    Ellen Bass is an American poet, essayist and scholar born in ...
  • Guy Wetmore Carryl
    Guy Wetmore Carryl (4 March 1873 – 1 April 1904) was an ...