How To Get a Formatted Date in Perl
erics, July 8th, 2020 |
1 2 3 |
use POSIX qw(strftime); my $stamp = strftime "%Y%m%d%H%M%S", localtime; my $stamp = strftime "%Y%m%d%H%M%S", gmtime; |
|
erics, July 8th, 2020 |
1 2 3 |
use POSIX qw(strftime); my $stamp = strftime "%Y%m%d%H%M%S", localtime; my $stamp = strftime "%Y%m%d%H%M%S", gmtime; |
erics, August 15th, 2015 For a quick visual check to see what the human-readable date is based on a UNIX timestamp integer: php -r ‘print date(“r”,1483228799);’ php -r ‘print strtotime(“1 Jan 2015”) – 1;’
erics, July 27th, 2013 One of my website clients just won an award: www.uspcs.org! A total of 27 organizations entered into the second annual APS Chapter and Affiliates Web Site Competition in one of three classes–club/society, stamp show, or combination. All were judged in a variety of categories, including content, structure and navigation, visual design, functionality, and interoperability, with […]