SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,12 @@
Using this module in addition to "Time::Piece" adds a
few MySQL-specific date-time methods to "Time::Piece" objects.
OBJECT METHODS
mysql_date / mysql_time / mysql_datetime / mysql_timestamp
Returns the date and/or time in a format suitable for use by MySQL.
CONSTRUCTORS
from_mysql_date / from_mysql_datetime / from_mysql_timestamp
Given a date, datetime, or timestamp value as returned from MySQL, these
constructors return a new Time::Piece object. If the value is NULL, they
will retrun undef.

View file

@ -0,0 +1,4 @@
${P5SITE}/Time/
${P5SITE}/Time/Piece/
${P5SITE}/Time/Piece/MySQL.pm
@man man/man3p/Time::Piece::MySQL.3p