title: how to convert php date formats to GMT and vice versa?
body: <p>i am new to  php.
  i want to write a function where i need user to input date in any date format including DST,into GMT format and again later back into the original entered format.please any body help me.</p>