DateTime - Dynamic Date?

jhdesign 02 Dec, 2011
Is it possible to:

Use PHP code in the datetime config? I'd like minimum date to be two days from today.

Is it also possible for it to skip Sat/Sun if two days from now falls on that date?

Jacob
GreyHead 02 Dec, 2011
Hi Jacob,

Please see this post about using an updated version of the datepicker if you are using Joomla! 1.6/1.7. There are instructions to upgrade the files in the preceding post.

I'm not sure off-hand if you can skip weekends simply - it may need a little JavaScript.

Bob
jhdesign 02 Dec, 2011
Forgot to mention I am on Joomla 1.5 (I did see the post you referenced).
Max_admin 09 Dec, 2011
Hi Jacob,

I think that I have explained before how to set a minimum date using PHP.

The weekends check is not available by default in the date picker script, but somebody has developed a patch for it and its explained on this page:
http://www.monkeyphysics.com/mootools/script/2/datepicker#examples

just search the page for "weekend"

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.