Skip to content

Instantly share code, notes, and snippets.

@ztmr
Created March 19, 2013 15:41
Show Gist options
  • Save ztmr/5197145 to your computer and use it in GitHub Desktop.
Save ztmr/5197145 to your computer and use it in GitHub Desktop.
FIS PROFILE/DATA-QWIK's `filecdt' utility clone in Perl.
#!/usr/bin/env perl
use strict;
use warnings;
use POSIX qw(strftime);
my @st = stat ($ARGV [0]) or exit 1;
my @dt = gmtime ($st [9]);
printf (strftime ("%m/%d/%y %H:%M:%S", @dt)."\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment