Search notes:

Perl module Time::Local

use warnings;
use strict;

use Time::Local;


# Get seconds since system epoch for
#
#     Oct 25th 2012, 7:45am
#

my $seconds =    0;
my $minutes =   45;
my $hour    =    7;

my $day     =   25;
my $month   =    9;  # Note! October is the 10th month, but timelocal expectes 9 for October!
my $year    = 2012;

print timelocal($seconds, $minutes, $hour, $day, $month, $year), "\n";
Github repository PerlModules, path: /Time/Local/script.pl
Perl modules.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1741108351, '18.226.82.177', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/Perl/modules/Time/Local/index(55): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78