PHP Classes

PHP Easter Date in the Orthodox Calendar: Get the dates of the Easter holiday over the years

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-07-08 (7 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 16 All time: 11,191 This week: 65Up
Version License PHP version Categories
orthodox-easter 1.0.1Freeware8Time and Date, PHP 8
Description 

Author

This package can get the dates of the Easter holiday over the years.

It can take as parameters the number of the start and end years.

The package can return an array with the Orthodox Easter in all the specified year ranges.

It can also output the Easter data in HTML to display as part of the current script page content.

Picture of ASCOOS CMS
  Performance   Level  
Name: ASCOOS CMS <contact>
Classes: 6 packages by
Country: Greece Greece
Age: ???
All time rank: 421725 in Greece Greece
Week rank: 5 Up1 in Greece Greece Up
Innovation award
Innovation award
Nominee: 3x

Example

<?php
/**
 * __ _ ___ ___ ___ ___ ___ ____ _ __ ___ ___
 * / _` |/ / / __/ _ \ / _ \ / / / __/| '_ ` _ \ / /
 * | (_| |\ \| (_| (_) | (_) |\ \ | (__ | | | | | |\ \
 * \__,_|/__/ \___\___/ \___/ /__/ \___\|_| |_| |_|/__/
 *
  *************************************************************************************
 * @ASCOOS-NAME : ASCOOS CMS 24' *
 * @ASCOOS-VERSION : 24.0.0 *
 * @ASCOOS-CATEGORY : Kernel (Frontend and Administration Side) *
 * @ASCOOS-CREATOR : Drogidis Christos *
 * @ASCOOS-SITE : www.ascoos.com *
 * @ASCOOS-LICENSE : [Commercial] http://docs.ascoos.com/lics/ascoos/AGL-F.html *
 * @ASCOOS-COPYRIGHT : Copyright (c) 2007 - 2023, AlexSoft Software. *
 *************************************************************************************
 *
 * @package : ASCOOS CMS - Orthodox Easter
 * @subpackage : Example for Orthodox Easter
 * @source : /OrthodoxEaster/src/test/orthodox-easter.php
 * @version : **** - $release: 1.0 - $revision: 1 - $build: ****
 * @created : 2023-07-07 07:00:00 UTC+3
 * @updated : 2023-07-09 01:00:00 UTC+3
 * @author : Drogidis Christos
 * @authorSite : www.alexsoft.gr
 *
 * @since 1.0.1
 */

define('ALEXSOFT_RUN_CMS', true);

$cms_path = str_replace('/OrthodoxEaster/test', '',str_replace('\\', '/', __DIR__));

require_once(
$cms_path."/OrthodoxEaster/src/kernel/coreEaster.php");



$yearStart = 2024;
$yearEnd = 2050;

$params = [
 
'class="default"',
 
'data-role="easters"'
];

$objEaster = new \ASCOOS\CMS\KERNEL\CORE\Dates\Easter\TEasterHandler($yearStart, $yearEnd);

?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>ASCOOS - Test Orthodox Easter</title>
   
    <link rel="icon" href="favicon.ico" />
  </head>

  <body>
    <!-- Orthodox Easter of current year -->
    <div>
      <p><b><?php echo 'Orthodox Easter of current year :</b> '.$objEaster->getDateEasters(); ?></p>
    </div>
    <hr>
    <!-- Orthodox Easter of year... -->
    <div>
      <p><b>Orthodox Easter of year <?php echo $yearStart; ?>:</b> <?php echo $objEaster->getDateEasters($yearStart); ?></p>
    </div>
    <hr>
   
    <!-- Orthodox Easter HTML Select list -->
    <div>
      <form>
        <label for="easters"><b>Choose a Orthodox Easter:</b></label>
        <?php
         
echo $objEaster->getHtmlSelect('easters', $params);
         
?>
</form>
    </div>
    <hr>
    <!-- Orthodox Easter in a period of years -->
    <div>
      <p><b><?php echo 'Orthodox Easter of years '.$yearStart.' - '.$yearEnd; ?>: </b></p>
      <?php echo $objEaster->getDateEasters($yearStart, $yearEnd); ?>
</div>

  </body>
</html>


Details

<p align="center"><img src="https://dl.ascoos.com/images/ascoos.png" height=120 /></p>

orthodox-easter

This package shows the dates on which the Orthodox Easter is celebrated.

*

Descript

This package can get the dates of the Easter holiday over the years.

It can take as parameters the number of the start and end years.

The package can return an array with the Orthodox Easter in all the specified year ranges.

It can also output the Easter data in HTML to display as part of the current script page content.

*

<p align="center"><img src="https://github.com/ascoos/orthodox-easter/blob/main/screenshot/oeaster-02-010001.png" /></p>


Screenshots  
  • screenshot/oeaster-01.png
  Files folder image Files  
File Role Description
Files folder imagescreenshot (2 files)
Files folder imagesrc (1 directory)
Files folder imagetest (2 files)
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  screenshot  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Image file oeaster-02-010001.png Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imagekernel (1 file)

  Files folder image Files  /  src  /  kernel  
File Role Description
  Plain text file coreEaster.php Class Class source

  Files folder image Files  /  test  
File Role Description
  Accessible without login Image file favicon.ico Data Auxiliary data
  Accessible without login Plain text file orthodox-easter.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:16
This week:0
All time:11,191
This week:65Up