Wednesday, March 18, 2020

Spring Poems (Classic and Contemporary) Collection

Spring Poems (Classic and Contemporary) Collection Our anthology of poems celebrating spring begins with a selection of classics: Tu Fu,â€Å"A Spring View† (c. 750), translated by Witter Bynner Li Po,â€Å"Waking from Drunkenness on a Spring Day† (c. 750), translated by Arthur Waley William Shakespeare,â€Å"Spring,† song from Love’s Labors Lost (1598) Thomas Nashe,â€Å"Spring, the Sweet Spring,† from Summer’s Last Will and Testament (1600) William Shakespeare,Sonnet 98 - â€Å"From you have I been absent in the spring† (1609) John Webster,â€Å"Vanitas Vanitatum,† from The Devil’s Law Case (1623) Thomas Carew,â€Å"The Spring† (1640) Robert Herrick,â€Å"Corinna’s Going a-Maying† (1648) Matsuo Basho,â€Å"Spring Rain,† â€Å"Spring Air† and Four Haiku (c. 1680) William Blake,â€Å"To Spring† (1783) Robert Burns,â€Å"Composed in Spring† (1786) William Wordsworth,â€Å"Lines Written in Early Spring† (1798) Kobayashi Issa,â€Å"Three Spring Haiku† (1804, 1818) Samuel Taylor Coleridge,à ¢â‚¬Å"Work Without Hope† (1825) Christina Rossetti,â€Å"Spring Quiet† (1847) Walt Whitman,â€Å"These I, Singing in Spring† (1860) Emily Dickinson,â€Å"A Light exists in Spring† (#812) Emily Dickinson,â€Å"A little madness in the Spring† (#1333) A.E. Housman,â€Å"Loveliest of trees, the cherry now† (1896) Robert Frost,â€Å"A Prayer in Spring† (1915) Robert Frost,â€Å"Two Tramps in Mud Time† (1934) D.H.  Lawrence,â€Å"The Enkindled Spring† (1916) Amy Lowell,â€Å"Spring Day† (1916) Robert Louis Stevenson,â€Å"Spring Carol† (1918) Gerard Manley Hopkins,â€Å"Spring† (1918) John Clare,â€Å"Young Lambs† (1920) Carl Sandburg,â€Å"Three Spring Notations on Bipeds† (1920) e.e. cummings,â€Å"in Just-† (1920) William Carlos Williams,â€Å"March† (1921) Edna St. Vincent Millay,â€Å"Spring† (1921) A.E. Housman,â€Å"Spring Morning† (1922) To which we’ve added a selection of the new poems on spring themes we’ve received from contemporary poets around the world: Denis Dunn, â€Å" 6:13 march morning† Michael Graves, â€Å"Poem to Spring in a Time of Global Warming† Dorothea Grossman, â€Å"Spring† Ruth Hill, â€Å"Light Advancing Through Trees† and â€Å"Awe† Doug Holder, â€Å"Spring On School Street. Somerville, Mass.† Margaret James, â€Å"Sunday† and â€Å"March 18† Wayne Jarus, â€Å"The Flower Garden† Guy Kettelhack, â€Å"Dithyramb for Springtime† Christine Klocek-Lim, â€Å"First Crocus† Steve Meador, â€Å"The Morning After† Justine Nicholas, â€Å"Quinquagesima† and â€Å"Magnolia† Jack Peachum, â€Å"Virginia in Spring† and â€Å"Epiphany in Carolina† Don Rehling, â€Å"Mountains Melting† Lisa Shields, â€Å"Calling Card† and â€Å"Pinked† Larissa Shmailo, â€Å"Spring Vow† Ingrid Toth, â€Å"Spring 1946† Melissa Varnavas, â€Å"Ashley’s Garden† Bill Vartnaw, â€Å"Sprin g† Enjoy these poems of the season!

Sunday, March 1, 2020

Create a Countdown Timer for Websites With PHP Mktime

Create a Countdown Timer for Websites With PHP Mktime Because the ist_dst parameter used in this example was deprecated in PHP 5.1 and removed in PHP 7, it is not safe to rely on this  code to deliver accurate results in current versions of PHP. Instead, use the date.timezone setting or the date_default_timezone_set() function. If your webpage focuses on a specific event in the future such as Christmas or your wedding, you may want to have a countdown timer to let users know how long it is until the event occurs. You can do this in PHP using timestamps and the mktime function. The  mktime() function is used to artificially generate the timestamp for a selected date and time. It works the same as the time() function, except it is for a specified date and not necessarily todays date. How to Code the Countdown Timer Set a target date. For  example, use February 10th, 2017. Do that with this line, which follows the syntax :  mktime(hour,minute,second,month,day,year: ist _dst). $target mktime(0, 0, 0, 2, 10, 2017) ;Establish the current date with this line: $today time () ;To find the difference between the two dates, simply subtract: $difference ($target-$today) ;Since the timestamp is measured in seconds, convert the results into whatever units you want. For hours, divide by 3600. This  example uses days so divide by 86,400- the number of seconds in a day. To make sure the number is an integer, use the tag int. $days (int) ($difference/86400) ;Put it all together for the final code: ?php $target mktime(0, 0, 0, 2, 10, 2017) ; $today time () ; $difference ($target-$today) ; $days (int) ($difference/86400) ; print Our event will occur in $days days; ?