How would I go about getting the time and date at the server regardless of who is logged in? I have seen the following:
PHP Code:
$date = vbdate($vboptions['dateformat'], TIMENOW);
$time = vbdate($vboptions['timeformat'], TIMENOW);
Assume that me and someone an hour ahead of me run the above code at the same time. When I log in, I am in the same time zone as the server. If someone an hour ahead of me logs in, the above code gives an hour difference.
Is there a magic way to craft the above code to give me the results I am looking for?