Search notes:

Perl module DateTime::Format::Strptime

use warnings;
use strict;

use DateTime::Format::Strptime;

my $format = DateTime::Format::Strptime->new(
               pattern => '%F'   #  %Y-%m-%d
             );


my $date = $format -> parse_datetime ('2014-06-18');

#  $date is a DateTime object:
print ref $date, "\n";
Github repository PerlModules, path: /DateTime/Format/Strptime/script.pl

See also

the Python function strptime found in the datetime library and the R function `strptime.
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...', 1741107551, '18.117.83.104', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/Perl/modules/DateTime/Format/Strptime/index(54): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78