0

hello all i have problem with time zone

<?php

if (!isset($_POST['submit'])) {

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>

<body>
  <div id="main">
    <div id="caption">Create new</div>
      <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
        name:<br/>
        <input type="text" name="title" size="40"/><br/><br/>
        News:<br/>
        <textarea name="newstext" rows="15" cols="67">
3
Contributors
6
Replies
21
Views
3 Years
Discussion Span
Last Post by Bob Hensley
0

hello all i have problem with time zone

What is your problem? The code you posted does not hint at the issue. For that matter, code practically never speaks louder than a good explanation by the author. Please explain what problem(s) you're running into and what you've tried to do to remedy it.

0

Which European TZ? There are many.

2

how to include Europe time in this code?

All of the information you need can be found within the two links I provided you. For example, if you want to set the timezone to Europe/Rome:

date_default_timezone_set('Europe/Rome');

This isn't a random value, however. I linked you to the page before, but I'll do it again: all timezones supported are listed here.

Votes + Comments
You can lead a horse to water... heh heh
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.