idiotstrike Posted December 2, 2010 Share Posted December 2, 2010 Hey guys, I've got a problem. Can anybody show me how to do it? Let's say there are 4 input fields: Year, month, day and hour. The user fills them like 2010, 12, 2, 3; and then I need a function to convert that date to datestamp with GMT +1. I was googling a whole afternoon, however came up with nothing. Thanks in advance! Quote Link to comment Share on other sites More sharing options...
requinix Posted December 2, 2010 Share Posted December 2, 2010 date_default_timezone_set + mktime. 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.