What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

Default start date of calendar

VikkiMac

New member
Hi All,

New to this forum.

I have an issue with a calendar which I need to start at a future date (beginning of 2024). I have the following code and want to know how to adjust it to make the calendar display start at 01 Jan 2024 for the user to select, rather than have to scroll through from today's date. I think this should be relatively straight forward - I just don't know how - if anyone can help I'd be most grateful.

<input type="text" class="hasDatepicker" id="start_date" name="start_date" value="" placeholder="Start hire" readonly="readonly">

TIA
 
Back
Top