From 1ff7c6514b67ce23b6d7e02f19bd2b77cb361def Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Mon, 10 Aug 2015 10:01:43 +0100 Subject: Rename to .pl as now a proper Perl script --- unixtime.pl | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 unixtime.pl (limited to 'unixtime.pl') diff --git a/unixtime.pl b/unixtime.pl new file mode 100755 index 0000000..f371b0c --- /dev/null +++ b/unixtime.pl @@ -0,0 +1,4 @@ +#!/usr/bin/perl +use POSIX qw( strftime ); + +print strftime('%a %b %e %H:%M:%S %Z %Y', localtime( $ARGV[0] ) ); -- cgit v1.2.3