lancia01 Posted March 1, 2011 Share Posted March 1, 2011 Hello, input: I have a timestamp 1309438800 at GMT 1pm (2011-06-30 13:00:00 PM) output: how to make this timestamp at 1pm PST? cheers! Quote Link to comment Share on other sites More sharing options...
requinix Posted March 1, 2011 Share Posted March 1, 2011 Use date. Quote Link to comment Share on other sites More sharing options...
dragon_sa Posted March 1, 2011 Share Posted March 1, 2011 there might be a better way but pst is 8hrs behind gmt so $pst=time() - 28800; echo $pst; 28800 is the number of seconds in 8 hours time() is the current time stamp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.