- getdate: documentation ( source)
- print_r: documentation ( source)
- mktime: documentation ( source)
<?php
echo "#
# 1981-03-28 02:30:00
#
";
print_r(getdate(mktime(2, 30, 0, 3, 28, 1981)));
echo "
#
# 1981-03-29 02:30:00
#
";
print_r(getdate(mktime(2, 30, 0, 3, 29, 1981)));
echo "
#
# 1981-03-30 02:30:00
#
";
print_r(getdate(mktime(2, 30, 0, 3, 30, 1981)));