We can get unix timestamp of Easter day corresponding to midnight on Easter of the given year by using easter_date() function. Here is the syntax
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
echo "Easgter date is :".date('m-d-Y',$time_stamp);
The output is here
Easter date is :03-31-2013
If year is not given the easter date of current year is returned.
echo "Easter date is :".date('m-d-Y',$time_stamp)
Output is here
Easter date is :04-17-2022
Information about available Calendars
Calendar Functions
Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net


    Post your comments , suggestion , error , requirements etc here

    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2022 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer