date problem

Thread Solved

Join Date: Jul 2008
Posts: 32
Reputation: knrakesh is an unknown quantity at this point 
Solved Threads: 0
knrakesh's Avatar
knrakesh knrakesh is offline Offline
Light Poster

date problem

 
0
  #1
Dec 26th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 293
Reputation: Aamit has a little shameless behaviour in the past 
Solved Threads: 11
Aamit Aamit is offline Offline
Posting Whiz in Training

Re: date problem

 
0
  #2
Dec 26th, 2008
post your date function
mention clear your problem definition & what exactly you want?
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 10
Reputation: galaxyweblinks is an unknown quantity at this point 
Solved Threads: 1
galaxyweblinks galaxyweblinks is offline Offline
Newbie Poster

Re: date problem

 
0
  #3
Dec 26th, 2008
http://www.w3schools.com/php/php_date.asp

You just click on this link and refer that to solve your problems in date function.
Projects & Search Engine
http://www.freelanceprojectupdates.com/
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 30
Reputation: dilipv is an unknown quantity at this point 
Solved Threads: 4
dilipv dilipv is offline Offline
Light Poster

Re: date problem

 
0
  #4
Dec 29th, 2008
Originally Posted by knrakesh View Post
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.
Dilip Kumar Vishwakarma
Programmer
.Net Consulting
If this post is answer for your query then don't forget to mark as an answer.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC