/usr/share/arc/ldap-monitor/includes/cnvtime.inc is in nordugrid-arc-ldap-monitor 5.0.5-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | <?php
// Author: oxana.smirnova@hep.lu.se
/**
* @return string
* @param stamp string
* @desc Converts time from the time stamp to a human-readable format
*/
function cnvtime ($stamp)
{
$mytime=substr($stamp,0,4)."-".substr($stamp,4,2)."-".substr($stamp,6,2)." ".substr($stamp,8,2).":".substr($stamp,10,2).":".substr($stamp,12,2);
return $mytime;
}
?>
|