Welcome
Details
Instructions
FAQ
Support
Purchase

Table of Contents

  1. How do I set the calendar to a specific date when opened?
  2. What if I need to set a date that is beyond the year 2100?
  3. What if I need to have 2 date fields in the same form?
  4. How do I change the color of my calendars?
  5. How do I set the default date format?
  6. Can I use a mouseover to call the calendar?
  7. How do I set the location where the calender will popup?
  8. How do I change the date to fulldatetime format?

How do I set the calendar to a specific date when opened?

You can add a name / value pair to the querystring of your link that will set the starting date of the calendar.

name = tdate
value = ##/##/####

example: tdate=12/19/1963

Back to Top

What if I need to set a date that is beyond the year 2100?

Each time you change the year field, the calendar increments by 100 years in both directions of the year selected.  You can move forward or backward as far as you wish.

Example:  If you set the year to 1970 you can then move from 1870 to 2070.  If you then select 2070 the calendar will have selections from 1970 to 2170 etc.

Back to Top

What if I need to have 2 date fields in the same form?

No problem.  Just adjust your links to send the proper field name so that the date will be returned to the proper field.

example1: fieldname=field1
example2: fieldname=field2

Back to Top

How do I change the color of my calendars?

You can send color values to the calendar using:

bgcolor1=######

Where ###### is the numeric value of the color you want to use.

examples:

Red
Blue
Green

If you want to change the text colors of the calendar you need to edit the style elements in the top of date.asp.  These can be found between <style type="text/css"> and </style>

Back to Top

How do I set the default date format?

aspDateSelector supports US and EN date formats.  By default aspDateSelector uses US format (mm/dd/yyyy).  You can send a name value pair to date.asp from your link to change to EN format (dd/mm/yyyy).

example:

&lang=EN

Back to Top

Can I use a mouseover to call the calendar?

Yes.  Change the "onClick" command within your link to "onMouseOver"

 

Back to Top

How do I set the location where the calender will popup?

Change the "left" and "top" values of your link to whatever you want.  These values represent the number of pixels from the left or top.  If you want the window to open in the top left, set left to 0 and top to 0.  All of the forms on this page are set to left=400,top=300.  This opens the calendar in the center of the screen.

Example: left=0,top=0

Back to Top

How do I change the date to fulldatetime format?

You can add a name / value pair to the querystring of your link that will set the date format to vb formatdatetime.

Example: fulldate=1

Example


|Welcome| |Details| |Instructions| |FAQ| |Support| |Purchase|

Powered By: