I'm also new in programming and I want to make a date Picker that displays in 2 labels 2 different dates from the same date Picker.
A:
What context is this in, OS GUI, Web based? If web, PHP, .Net, Java?
There are many control libraries, but each is specific to the platform, if you give us a bit more information we can point you in the right direction.
Nick Craver
2008-09-19 13:01:33
A:
Some specifics on what language, or tools you are using would be helpful.
Erratic
2008-09-19 13:01:56
+1
A:
You need to tell wether this is a web app or a desktop app, and which language and platform you want to make this on.
Fuzzy76
2008-09-19 13:02:20
A:
I need to do the same thing, I'm using JQuery's DatePicker and writing in javascript is fine with me. I have this so far:
$("#inline").datepicker({
changeMonth: false,
changeYear: false,
rangeSelect: true,
numberOfMonths: [2, 3],
stepMonths: 3,
}).children("div").css("width", "555px");
and this in HTML:
<input name="arrive" type="text" id="startDate" readonly="readonly" onblur="check_date(this)" value="" size="12" maxlength="10" border="0" />
<style type="text/css">.embed + img { position: relative; left: -21px; top: -1px; }</style>
<input name="depart" type="text" id="endDate" readonly="readonly" onblur="check_date(this)" value="" size="12" maxlength="10" border="0" />
<style type="text/css">.embed + img { position: relative; left: -21px; top: -1px; }</style>