hello friends
thanks to all for their co-operation
iam facing a problem with date function
i want to insert it in a database by taking from form
is there any one whi gives the code

Thank u
KNR

Recommended Answers

All 3 Replies

post your date function
mention clear your problem definition & what exactly you want?

i want to insert it in a database by taking from form
KNR

First you are in DaniWeb dont ever ask for any code. Ask your doubts.
Now for your problem
If you wanna user to choose a date then use following
Download DataTimePicker.js a javascript file which on ckick of a link it will allow you to choose date. After that you can submit your form which holds your date value. Now you can easily insert that date to database.
Check given Url
http://www.javascriptkit.com/script/script2/tengcalendar.shtml

else
you wanna current date of the system you can use Date function of php.
hope this will help you.
Thanks & Regards
Dilip Kumar Vishwakarma

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.