xref: /PHP-8.1/ext/calendar/tests/jdtounix.phpt (revision 56f90492)
1--TEST--
2jdtounix()
3--INI--
4date.timezone=UTC
5--EXTENSIONS--
6calendar
7--FILE--
8<?php
9echo date("Y-m-d",jdtounix(2440588)). "\n";
10echo date("Y-m-d",jdtounix(2452162)). "\n";
11echo date("Y-m-d",jdtounix(2453926)). "\n";
12?>
13--EXPECT--
141970-01-01
152001-09-09
162006-07-09
17