NAME

Oak::Web::Additional::DateTimefield - Component to create a date/time field

DESCRIPTION

This component creates a date field with 6 different inputs. The inputs can be show in the order you config and with the separator you choose.

HIERARCHY

Oak::Object

Oak::Persistent

Oak::Component

Oak::Web::Visual

Oak::Web::Additional::Datefield

PROPERTIES

show_seconds

Defaults to false.

format

YMDhms,DMYhms or MDYhms. The format that the inputs will be shown. Defaults to DMYhms.

datetime

The datetime itself. It _is_ in the unix timestamp format. And _only_ this format.

date_separator

The character that separates the date inputs, defaults to "/"

time_separator

The character that separates the time inputs, defaults to ":"

required

If true, then the field must be filled, else not.

EXCEPTIONS

Oak::Web::Additional::Datefield::Error::InvalidDate

An invalid date was found.

COPYRIGHT

Copyright (c) 2001 Daniel Ruoso <daniel@ruoso.com> All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.