I am using WAMP server running PHP. At a particular step I am trying to capture system time and add it to the database with the following query
$strSQLInsert = "UPDATE track SET State = 'Repeat' , DateTime = '" . date("m/d/Y h:i:s a") . "', where AccID like '". $values['SampleID'] ;
but the time stamp is way off than my system time. The date is okay. I googled and found out that I can update my .htaccess with this line
SetEnv TZ America/Los_Angles
But I couldn't find where htaccess is. How do I get the correct time stamp.