advnc thank u..
i need to access login details(date and time) of users while clicking on calendar type date. is it possible? date and time is inserted in database while each userlogin. please help me...:(
sruthisru 0 Newbie Poster
Recommended Answers
Jump to Postyes that is posible
You can use the mysql function [curdate]
(http://www.w3schools.com/sql/func_curdate.asp)
or use the php object$date = new DateTime("now");
What do you have so far?
Jump to PostAnyways, have you found a solution to your problem or do you still need help?
I'd wait - you told her to show some effort. ;)
Jump to PostAsk your questions anyway, this is a help forum after all. What you're looking for is a trivial piece of code, so I'll outline what I'd do...
- Get a calendar (or datepicker), such as jQueryUI
- Either via Ajax or normal form submission, send the date to the server
- The server …
Jump to PostEither change the datepicker settings to give you datetime format of Y-m-d (yyyy-mm-dd) or convert the m-d-Y format, e.g.
$date = DateTime::createFromFormat('m/d/Y', $dateFromPicker); $convertedDate = $date->format('Y-m-d');
Jump to PostAgain, please post your code. Your reticence with regard to this matter is frustrating and not helping you at all. We can't get a handle on what the problem may be from your cryptic messages.
All 20 Replies
sruthisru 0 Newbie Poster
Assembly Guy 72 Posting Whiz
pzuurveen 90 Posting Whiz in Training
Bachu 45 Newbie Poster
<M/> 170 Why so serious? Featured Poster
sruthisru 0 Newbie Poster
<M/> 170 Why so serious? Featured Poster

diafol
<M/> 170 Why so serious? Featured Poster
sruthisru 0 Newbie Poster
<M/> 170 Why so serious? Featured Poster
sruthisru 0 Newbie Poster
sruthisru 0 Newbie Poster
حبيب commented: Moi c'est habib Hassaballah+23599954219 +0

diafol
sruthisru 0 Newbie Poster

diafol
sruthisru 0 Newbie Poster

diafol
sruthisru 0 Newbie Poster

diafol
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.