473,565 Members | 2,770 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need help to design dropdown box with date,month and year

6 New Member
hi guys

i'm new for asp.i tried to search for dropown box with date,year and month where calender attached together.but can't find.anyone can help me get the source code or let me know where to find.thanx guys

adios
iniyan
Oct 11 '07 #1
4 1307
sureshkmsc
9 New Member
[html]<tr>
<td align="right">D ate Of Birth:</td>
<td align="left"><s elect name="month">
<option value="Month" selected="selec ted">Month</option>
<option value="01">Janu ary</option>
<option value="02">Febr aury</option>
<option value="03">Marc h</option>
<option value="04">Apri l</option>
<option value="05">May</option>
<option value="06">June </option>
<option value="07">July </option>
<option value="08">Augu st</option>
<option value="09">Sept ember</option>
<option value="10">Octo ber</option>
<option value="11">Nove mber</option>
<option value="12">Dece mber</option>
</select>
<select name="day">
<option value="Day">Day </option>


<option value="1">1</option>


<option value="2">2</option>


<option value="3">3</option>


<option value="4">4</option>


<option value="5">5</option>


<option value="6">6</option>


<option value="7">7</option>


<option value="8">8</option>


<option value="9">9</option>


<option value="10">10</option>


<option value="11">11</option>


<option value="12">12</option>


<option value="13">13</option>


<option value="14">14</option>


<option value="15">15</option>


<option value="16">16</option>


<option value="17">17</option>


<option value="18">18</option>


<option value="19">19</option>


<option value="20">20</option>


<option value="21">21</option>


<option value="22">22</option>


<option value="23">23</option>


<option value="24">24</option>


<option value="25">25</option>


<option value="26">26</option>


<option value="27">27</option>


<option value="28">28</option>


<option value="29">29</option>


<option value="30">30</option>


<option value="31">31</option>

</select>
<select name="year">
<option value="Year">Ye ar</option>


<option value="1910">19 10</option>

<option value="1911">19 11</option>

<option value="1912">19 12</option>

<option value="1913">19 13</option>

<option value="1914">19 14</option>

<option value="1915">19 15</option>

<option value="1916">19 16</option>

<option value="1917">19 17</option>

<option value="1918">19 18</option>

<option value="1919">19 19</option>

<option value="1920">19 20</option>

<option value="1921">19 21</option>

<option value="1922">19 22</option>

<option value="1923">19 23</option>

<option value="1924">19 24</option>

<option value="1925">19 25</option>

<option value="1926">19 26</option>

<option value="1927">19 27</option>

<option value="1928">19 28</option>

<option value="1929">19 29</option>

<option value="1930">19 30</option>

<option value="1931">19 31</option>

<option value="1932">19 32</option>

<option value="1933">19 33</option>

<option value="1934">19 34</option>

<option value="1935">19 35</option>

<option value="1936">19 36</option>

<option value="1937">19 37</option>

<option value="1938">19 38</option>

<option value="1939">19 39</option>

<option value="1940">19 40</option>

<option value="1941">19 41</option>

<option value="1942">19 42</option>

<option value="1943">19 43</option>

<option value="1944">19 44</option>

<option value="1945">19 45</option>

<option value="1946">19 46</option>

<option value="1947">19 47</option>

<option value="1948">19 48</option>

<option value="1949">19 49</option>

<option value="1950">19 50</option>

<option value="1951">19 51</option>

<option value="1952">19 52</option>

<option value="1953">19 53</option>

<option value="1954">19 54</option>

<option value="1955">19 55</option>

<option value="1956">19 56</option>

<option value="1957">19 57</option>

<option value="1958">19 58</option>

<option value="1959">19 59</option>

<option value="1960">19 60</option>

<option value="1961">19 61</option>

<option value="1962">19 62</option>

<option value="1963">19 63</option>

<option value="1964">19 64</option>

<option value="1965">19 65</option>

<option value="1966">19 66</option>

<option value="1967">19 67</option>

<option value="1968">19 68</option>

<option value="1969">19 69</option>

<option value="1970">19 70</option>

<option value="1971">19 71</option>

<option value="1972">19 72</option>

<option value="1973">19 73</option>

<option value="1974">19 74</option>

<option value="1975">19 75</option>

<option value="1976">19 76</option>

<option value="1977">19 77</option>

<option value="1978">19 78</option>

<option value="1979">19 79</option>

<option value="1980">19 80</option>

<option value="1981">19 81</option>

<option value="1982">19 82</option>

<option value="1983">19 83</option>

<option value="1984">19 84</option>

<option value="1985">19 85</option>

<option value="1986">19 86</option>

<option value="1987">19 87</option>

<option value="1988">19 88</option>

<option value="1989">19 89</option>

<option value="1990">19 90</option>

<option value="1991">19 91</option>

<option value="1992">19 92</option>

<option value="1993">19 93</option>

<option value="1994">19 94</option>

<option value="1995">19 95</option>

<option value="1996">19 96</option>

<option value="1997">19 97</option>

<option value="1998">19 98</option>

<option value="1999">19 99</option>

<option value="2000">20 00</option>

<option value="2001">20 01</option>

<option value="2002">20 02</option>

<option value="2003">20 03</option>

<option value="2004">20 04</option>

<option value="2005">20 05</option>

<option value="2006">20 06</option>

<option value="2007">20 07</option>

</select>

</td>
</tr>[/html]
Oct 11 '07 #2
JamieHowarth0
533 Recognized Expert Contributor
Hi iniyan,

Have you tried doing any code yourself so far?

I have some calendar code which if you want, I can email to you (PM me your email address) and you can either use as static with full page postbacks or alter to use with AJAX if you need it.

Best regards,

medicineworker
Oct 11 '07 #3
markrawlingson
346 Recognized Expert Contributor
I also have a calendar control if you'd like it. It is javascript enabled and very easy to impliment (just one line you copy and paste, as well as a javascript file you'd just need to reference using an include on the page). It's a date picker. It allows a user to select the date from 3 drop down menus (mm/dd/yyyy) if they like, or pick the date from a calendar if they prefer to use a GUI method instead. The result is kept in the form submission and returned as mm/dd/yyyy format.

It's without a doubt the best one i've seen, for all purposes I've come across.
Oct 11 '07 #4
iniyan
6 New Member
hi fren where can i get the refference.than x for ur help
Oct 12 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2017
by: annon | last post by:
I've noticed that some problems come up frequently that are of importance in writing web pages, because they're pretty fundamental points. For general reference, here are some collected solutions. 1. Opens a new Window at maximum size: window.moveTo(0,0,screenX=0,screenY=0) window.resizeTo(screen.availWidth+2,screen.availHeight+6)
3
12667
by: charliewest | last post by:
Can someone recommend a fairly easy to use ASP.NET custom calendar control that makes it easy for the user to select the month and year - versus the inherent "paging" that is used in the default Web Control? For example, when i need to select the DOB (April 4, 1970), i need to page "left" endlessly.... I have found some controls on teh...
13
2450
by: vgame64 | last post by:
Hi, I have been struggling with writing a program for a few hours. The requirements are that: """You will be writing a program which will determine whether a date is valid in terms of days in that month. We are assuming that the year will be valid 4 digit integer. So you don't have to think much about that(in terms of validation) except for...
12
29435
by: Assimalyst | last post by:
Hi, I have a working script that converts a dd/mm/yyyy text box date entry to yyyy/mm/dd and compares it to the current date, giving an error through an asp.net custom validator, it is as follows: function doDateCheckNow(source, args) { var oDate = document.getElementById(source.controltovalidate); // dd/mm/yyyy
0
1398
by: Kitten | last post by:
I'm maintaining a site which has a page to show information by the date. It has 3 dropdown boxes - day, month and year. Day is sorted already. The year must only show this year and last year, which is also sorted. Now we come to the tricky part - the month dropdown box must show the months up to this month when this year is selected and from...
6
1601
by: David | last post by:
I have a form on my asp page with 3 dropdowns, day, month & year, but for some reason, the day dropdown is displaying the 25th twice, instead of 26th, then 27th ? I have this script in the <headof my asp page: _____________________ <script type="text/javascript">
2
2071
by: Bill | last post by:
I have a 200 record database that includes a date/time field, AnnivDate, for a wedding anniversary. AnnivDate has nulls and some incorrect year data. I have been creating the Access database using data imported from an Excel file and the person entering into Excel only cared about the month and day portion and Excel added the current year...
7
2295
by: tabm2004 | last post by:
I have an ASP main page with date fields dropdown like From date Date .. Month .....Year To date Date.. Month..... Year whenever i open mainpage.asp in the browser, i am needed to select the To & From dates. Instead of that i want the system date should be generated automatically in the dropdown boxes. Plz...
3
2677
by: RZ15 | last post by:
Hi, I have a query that calculates the sum of branch transfers for the current quarter. Here is my Quarter-to-Date field: QTD-In: Sum(CCur(IIf(="TRN" And Between DateSerial(Year(Date()),Int((Month(Date())-1)/3)*3+1,1) And DateSerial(Year(Date()),Int((Month(Date())-1)/3)*3+4,0),*!,0))) Now, I need to make sure I understand the...
0
7666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7644
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2083
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.