473,396 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to display date in a datepicker

103 100+
How to display current date in a datepicker where once we have loaded the datepicker onto form it shows current date,but after some days it shows only the date when it was loaded onto the form,please ny suggestions to get the current date always inspite of the date loaded being shown!!!
Jan 11 '08 #1
2 2097
QVeen72
1,445 Expert 1GB
Hi,

Write this in Form_Load event:
Expand|Select|Wrap|Line Numbers
  1. DTPicker1.Value = Date
  2.  
Regards
Veena
Jan 11 '08 #2
debasisdas
8,127 Expert 4TB
You can also use

DTPicker1.Value = Now

and then change the format accoding to your requirment for date of any format or time.
Jan 11 '08 #3

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

Similar topics

2
by: David B | last post by:
I am populating an unbound text box from datepicker calender. After the date has been selected I need the sub form to requery. If I manualy put a date in the text box the after update works fine...
2
by: Jassim Rahma | last post by:
Hi, I am using C# to insert a date value from the DatePicker into a DateTime filed in mySQL database.. I am using the following syntax: '" + datePicker.Value + "' I also triend it withour...
2
by: Rachel Suddeth | last post by:
Is there a way to have the non-selectable dates (those before MinDate and after MaxDate) draw differently so my users can see right away what dates aren't allowed? I'm not seeing it... ...
2
by: luna | last post by:
ive read a few tutorials but im still not getting anywhere (most code ive seen is code inline - im using codebehind VB and aspx) im creating a link button that opens a popup calendar that once a...
2
by: ven | last post by:
Hello, I found a source of datepicker who opens a new window using java to select a date, but i saw a datepicker who doesn`t open a new window (dynamically opened on click), and i have a...
4
by: wapsiii | last post by:
I'm unsure how best to handle dates from my webforms to my database. Often I have a textbox and a datepicker on a webform. Upon postback dates are received in string format (like DD-MM-YYYY)....
1
by: Yas | last post by:
Hello I've got the following Javascript for a web calendar popup that outputs the date in 4/24/2008 (m/d/yyyy). How can i modify it to output dd/mm/yyyy e.g. 24/04/2008. So all outputs are in...
1
by: Yas | last post by:
Hello I've got the following Javascript for a web calendar popup that outputs the date in 4/24/2008 (m/d/yyyy). How can i modify it to output dd/mm/yyyy e.g. 24/04/2008. So all outputs are in...
2
omerbutt
by: omerbutt | last post by:
hi i am using the jquery datepicker from here what i want to do is when i click on any date it should copy that date to a hidden text field how can i do that any guidance regards, Omer Aslam
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.