Tag Archives: Perl script
Perl – Converting the Time from 24 hr to 12 hr Format
Below is a Perl script that demonstrates how to appropriately convert the current time from 24 hr format to 12 hr format. The ‘convertToTwelveHr’ subroutine does all the work here. The 24 hr input value is passed into the subroutine … Continue reading
Posted in Perl, Programming Languages, Technology
Tagged 24 hour to 12 hour, 24 hr to 12 hr, Converting the time from 24 hr to 12 hr format, localtime, localtime function, localtime subroutine, perl, Perl 24 hour to 12 hour, Perl script, Perl script that converts time from 24 hr to 12 hr
Leave a comment