I am having a hard time storing a record of Time in MySQL using PHP and I hope someone would help me.
What I really need is to get my computer's time and store it into my database. I tried using this
$time_in = date ("h:i:s:a:");
and then store it into my database, but the problem is, it's showing an incorrect time.(+6:00
, I think)
So, how do I get my own computer's current time and store it as it is in my database? Thank you in advance.