Softricks Popup Date Picker Demo Page

Control String:

Date Format: Month: Year:



Selection #1:

If you select a date format with '-' as a separator, such as MM-DD-YYYY, this example can split the returned date into Day, Month and Year. This is achieved by a Javascript stub written in this page which gets called when a date is selected from the calendar. You can specify your stub by using the 'CallFunction' setting in the 6th parameter to the 'show_calendar' function.

Selection #2:


Demo of how to select a 'From date' and a 'To date'.

Note: The calendars invoked by the 2 links below use different date formats: the first one uses 'MM/DD/YYYY' and the second one uses 'YYYY-MM-DD' as the default date format.

The first link uses the 'Selection #1' date field as the initial date when it opens. The second link uses an arbitrary date constant '2002-04-22' as the initial date. This is to demonstrate the 'CurrentDate' setting in the 6th parameter of 'show_calendar' function.

From --- To





Check our Tutorial on more details on usage.