GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Prima::Widget::Date(3) User Contributed Perl Documentation Prima::Widget::Date(3)

Prima::Widget::Date - date picker widget

        use Prima qw(Application Widget::Date);
        my $mw = Prima::MainWindow->new;
        $mw->insert( 'Widget::Date' =>
                pack => { fill => 'x', pad => 20 },
        );
        run Prima;

Standard date picker

Converts DATE to string representation according to the current "format" string
Returns a string to be used in "format", where the string is constructed in such a way to reflect regional date formatting preferences.

See also: "man 3 strftime, %x" .

Tries to extract date from STRING assuming it is constructed according to the current "format" string. Doesn't fail but values that could not be extracted are assigned to today's day/month/year instead.
Returns today's date in widgets [D,M,Y] format
Checks whether D, M, Y values are valid and within understood range; adjusts the values if not. Returns the final values.

Accepts three integers / arrayref with three integers in format of "localtime". DAY can be from 1 to 31, MONTH from 0 to 11, YEAR from 0 to 199.

Default value: today's date.

Selects the day in month.
The format string is used when converting date to its visual interpretation, also with regional preferences, like YYYY-MM-DD or DD/MM/YY. The syntax of the format is exctly this, it recognizes fixed patterns YYYY, YY, MM, and DD, replacing them with the date values.
Selects the month.
Selects the year.

Dmitry Karasik, <dmitry@karasik.eu.org>.

Prima::ComboBox, Prima::Calendar

2025-07-04 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.