easter_date()

We can get unix timestamp of Easter day of any year by using easter_date() function. Here is the syntax
easter_date(YYYY);
Here we are entering year in YYYY format , like 1998. The output is unix time stamp of midnight of easter day of the year.

Here is an example
$time_stamp=easter_date(2013);
echo "Easgter date is :".date('m-d-Y',$time_stamp);
The output is here

Easgter date is :03-31-2013
If year is not given the easter date of current year is returned.
Your Rating





Post Comment This is for short comments only. Use the forum for more discussions.




HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2019 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer