Black Eagle Team Minishell
Path:
/
home
/
c
/
c
/
p
/
ccpsafy
/
www.old
/
VSEL
/
library
/
[
Home
]
File: timeFunctions.php.old
<?php function realHour($time) { $hour = substr($time, 0, 2); if ($hour > 12) { $hour = $hour - 12; $ampm = 'PM'; } elseif ($hour == 12) { $ampm = 'PM'; } elseif ($hour == 0) { $hour = 12; $ampm = 'AM'; } else { $hour = $hour - 0; $ampm = 'AM'; } return $hour; } function realAMPM($time) { $hour = substr($time, 0, 2); if ($hour > 12) { $hour = $hour - 12; $ampm = 'PM'; } elseif ($hour == 12) { $ampm = 'PM'; } elseif ($hour == 0) { $hour = 12; $ampm = 'AM'; } else { $ampm = 'AM'; } return $ampm; } ?>
©
2020 Black Eagle Team