Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: set available date from currentday to end of year
blekm
Junior Member

Posts: 6
Registered: 4/17/2007
Member Is Offline
posted on 5/17/2007 at 02:12 PM Reply With Quote
set available date from currentday to end of year


I use this constructor for my calendar

var CAL_INIT1 = {
'forbidden' : {
'weekday' : ['Mon']
},
'mindate': '01-01-2007',
'maxdate': '31-12-2008',
'controlname' : 'controlname1',
'formname' : 'orderform',
'dataformat' : 'd-m-Y'
}

can I use on MINDATE the current day?
Something like this:

'mindate': 'TODAY',
'maxdate': '31-12-2008',

in this way I set available only future date from current day to end of 2008...
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 5/21/2007 at 07:20 PM Reply With Quote

That will be:
'mindate': '0',
View User's Profile View All Posts By User U2U Member
blekm
Junior Member

Posts: 6
Registered: 4/17/2007
Member Is Offline
posted on 2/13/2009 at 02:56 PM Reply With Quote

Quote:
Originally posted by tigra
That will be:
'mindate': '0',


and If i want to change the END of the year like a parameter? it's possibile something like this?

'maxdate': '31-12-CURRENT_YEAR',

where current year is 2009, now.. it's possible something like this in automatic? In this way I don't must change the year manually every december... :-(
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Popup Calendar
Onpage Calendar
Modal Calendar
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004