1. Computing

How to tell the current time in Perl

From Kirk Brown, About.com GuideDecember 28, 2005

Ever wondered how to get the date and time for your Perl scripts? Maybe you've created a custom CGI program and you want to log when and how people use it? Or perhaps you just want to grab the time and store it in a database as part of a transaction. Using Perl's built-in localtime and gmtime functions, you can get the date and time easily and convert it to whatever format your script calls for. Find out how to do it in this tutorial on telling the time with Perl's localtime.
Comments
No comments yet. Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
Top Related Searches current time december 28 perl

©2013 About.com. All rights reserved.