Default Date in Date Picker?

NickOg 20 Nov, 2011
Hi

Is it possible to define a default date with the date picker? I have been trying <?php echo date('yyyy-mm-dd'); ?> with some success. It outputs 1111-11-11 - right format wrong date!

Regards
NickOg 21 Nov, 2011
Found it! My syntax was bad! It should have been <?php echo(date('Y-m-d'));?> and that works.

Nick
This topic is locked and no more replies can be posted.