=head1 NAME Win32::GUI::DateTime - Create and manipulate datetime controls =head1 DESCRIPTION [TBD] =for comment $Id: per_package_method_section.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head1 METHODS L apply to most windows, controls and resources. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 new B Creates a new DateTime object; can also be called as PARENT->AddDateTime(%OPTIONS). Class specific B<%OPTIONS> are: -align => 'right'/'left' (default 'left') The drop-down month calendar alignement. -format => 'shortdate', 'longdate', 'time' Control format type (Use local format date/time). -shownone => 0/1 (default 0) Allow no datetime (add a prefix checkbox). -updown => 0/1 (default 0 for date, 1 for time format) Use updown control instead of the drop-down month calendar. See also the L. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 Format B See L =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetDate B Returns the date in the DateTime control in a three elements array (day, month, year). =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetDateTime B See L =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetMonthCal B Retrieves the handle to a date and time picker's (DTP) child month calendar control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetMonthCalColor B Retrieves the color for a given portion of the month calendar within a date and time picker (DTP) control. icolor : MCSC_BACKGROUND = Retrieve the background color displayed between months. MCSC_MONTHBK = Retrieve the background color displayed within the month. MCSC_TEXT = Retrieve the color used to display text within a month. MCSC_TITLEBK = Retrieve the background color displayed in the calendar's title. MCSC_TITLETEXT = Retrieve the color used to display text within the calendar's title. MCSC_TRAILINGTEXT = Retrieve the color used to display header day and trailing day text. Header and trailing days are the days from the previous and following months that appear on the current month calendar. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetMonthCalFont B Retrieves the font that the date and time picker (DTP) control's child month calendar control is currently using. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetSystemTime B Returns the date and time in the DateTime control in a eight elements array (year, month, day, dayofweek, hour, minute, second, millisecond). =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetTime B Returns the time in the DateTime control in a four elements array (hour, min, sec, msec). =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 IsNone B Test if the DateTime control is None (control check box was not selected). =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetDate B Sets the date in the DateTime control in a three elements array (day, month, year). =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetDateTime B See L =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetFormat B Sets the format for the DateTime control to the specified string. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetMonthCalColor B Sets the color for a given portion of the month calendar within a date and time picker (DTP) control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetMonthCalFont B Sets the font to be used by the date and time picker (DTP) control's child month calendar control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetNone B Set none state in the DateTime control (control check box was selected). =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetSystemTime B Sets the date time in the DateTime control =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetTime B Sets the time in the DateTime control in a four elements array (hour, min, sec, [msec=0]). =for comment $Id: per_package_event_section.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head1 EVENTS L apply to most windows and controls. =for comment $Id: per_package_event.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 Change B Sent when the datetime change. . =for comment $Id: per_package_event.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 CloseUp B Sent when the user closes the drop-down month calendar. . =for comment $Id: per_package_event.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 DropDown B Sent when the user activates the drop-down month calendar.. =for comment $Id: pod_postamble.tpl,v 1.2 2005/08/03 21:45:59 robertemay Exp $ =head1 VERSION Documentation for Win32::GUI v1.06 created 14 Feb 2008 This document is autogenerated by the build process. Edits made here will be lost. Edit F instead. =head1 SUPPORT Homepage: L. For further support join the users mailing list(C) from the website at L. There is a searchable list archive at L. =head1 COPYRIGHT and LICENCE Copyright (c) 1997..2008 Aldo Calpini. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.