summaryrefslogtreecommitdiff
path: root/ext/calendar/tests/jdtogregorian.phpt
blob: 6b1956f477a674946c35971bd2942b3efec9ac8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
jdtogregorian()
--SKIPIF--
<?php include 'skipif.inc'; ?>
--FILE--
<?php
echo jdtogregorian(0). "\n";
echo jdtogregorian(2298874). "\n";
echo jdtogregorian(2299151). "\n";
echo jdtogregorian(2440588). "\n";
echo jdtogregorian(2816423). "\n";
?>
--EXPECT--
0/0/0
1/1/1582
10/5/1582
1/1/1970
1/1/2999