943,907 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 549
  • PHP RSS
Dec 26th, 2008
0

date problem

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
knrakesh is offline Offline
35 posts
since Jul 2008
Dec 26th, 2008
0

Re: date problem

post your date function
mention clear your problem definition & what exactly you want?
Reputation Points: 3
Solved Threads: 15
Posting Whiz
Aamit is offline Offline
341 posts
since Apr 2008
Dec 26th, 2008
0

Re: date problem

http://www.w3schools.com/php/php_date.asp

You just click on this link and refer that to solve your problems in date function.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
galaxyweblinks is offline Offline
10 posts
since Dec 2008
Dec 29th, 2008
0

Re: date problem

Click to Expand / Collapse  Quote originally posted by knrakesh ...
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/...calendar.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
Last edited by dilipv; Dec 29th, 2008 at 4:05 am.
Reputation Points: 10
Solved Threads: 4
Light Poster
dilipv is offline Offline
30 posts
since Feb 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Update database issue
Next Thread in PHP Forum Timeline: PHP HTML Email with CSS styles





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC