PHP date/time function
<p>I've an application,say the end user might be from any country but when he does some action,i want the date to be shown in a particular time zone.</p>

<p>I want insert this into DB so i'm doing this using date_default_timezone_set('');  with date() </p>

<p>Is this the right way or should i use gmdate() and add time zone.</p>

<p>Thanks</p>
