Hello, I am really sorry for posting this here but I couldn't find anything
simular to the net. I need to insert datetime values into my mysql
db and in particular the current time second and minute value
and than I want to call this value and do a $current_time-$mysql_time
something like this and display just the minutes.
Thx in advance.
D4n1sD
0
Light Poster
Recommended Answers
Jump to Postcheckout the online php and mysql manuals - loads of info there. It is suggested that you store this info as a unix timestamp (integer). You can use now() in mysql statements for current time.
All 4 Replies
Reply to this topic
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.