-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
31 lines (27 loc) · 736 Bytes
/
Copy pathindex.php
File metadata and controls
31 lines (27 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta content="width=device-width, minimum-scale=1, maximum-scale=1" name="viewport">
<title>Easter Date</title>
</head>
<body>
<?php
date_default_timezone_set("Europe/Zurich");
include("easter.php");
$easter = new Easter();
?>
<h1>Easter Date Gregorian</h1>
<?php
for ($y = 1900; $y <= 2050; $y++) {
echo "<br>". strftime("%d.%m.%Y", $easter->GetGregorian($y))." : ".strftime("%D", $easter->GetGregorian($y));
}
?>
<h1>Easter Date Julian</h1>
<?php
for ($y = 1900; $y <= 2050; $y++) {
echo "<br>".strftime("%d.%m.%Y", $easter->GetGregorian($y))." : ".strftime("%D", $easter->GetJulian($y));
}
?>
</body>
</html>