diff options
author | Luke Bratch <luke@bratch.co.uk> | 2015-08-10 10:01:43 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2015-08-10 10:01:43 +0100 |
commit | 1ff7c6514b67ce23b6d7e02f19bd2b77cb361def (patch) | |
tree | 1e20d8f99977b848d2ea14527fd5054a3d24d6c9 /unixtime.pl | |
parent | 5ccd72ab4e6eec04bbba314db2309bc0de380562 (diff) |
Rename to .pl as now a proper Perl script
Diffstat (limited to 'unixtime.pl')
-rwxr-xr-x | unixtime.pl | 4 |
1 files changed, 4 insertions, 0 deletions
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] ) ); |