qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gilles SIMON <gilsim@wanadoo.fr>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] time and date under QEMU
Date: Mon, 17 May 2004 11:46:51 +0200	[thread overview]
Message-ID: <200405171146.51078.gilsim@wanadoo.fr> (raw)
In-Reply-To: <87ekpj30nf.fsf@Janik.cz>

I don't think this is so important : I install computers with local time in 
BIOS, and all is OK... (especially for workstations).
In fact, the system has to know what time is in BIOS, and it can take care of 
problems.

Other things :
it is 11h33 CEST on my computer (UTC +2 at that date).

date -u tells 09h33, that's OK.
dos (without any config file) under qemu tells me it is 10h33,
Linux, Win3.1, Win98 and W2k all tell me it is 8h33.

Why theses  differences ?
Under 98 and 2k, changing timezone does'nt change displayed time...

Le Lundi 17 Mai 2004 10:42, Pavel Janík a écrit :
>    From: Gilles SIMON <gilsim@wanadoo.fr>
>    Date: Mon, 17 May 2004 09:44:11 +0200
>
>    > It could be a good idea to set default clock to localtime (with
>    > perhaps option for GMT ?).
>
> No. Clock should be in UTC/GMT. It is crazy to have local time in
> BIOS. Why?
>
> Imagine your system is powered off, and clock is running in it. You'll
> power it off when its clock contains time 02:30:00 in the day where clock
> is to be shifted from 02:00 to 03:00 (so no time like 02:30 exists that
> day). So what will be the time in your system? This is simpler case,
> because you can simply shift the time to 03:30:00.
>
> The same applies to e.g. 02:05 the day when clock is to be shifted from
> 03:00 back to 02:00. Is it the time before or after shift?

-- 
Gilles SIMON

      reply	other threads:[~2004-05-17  9:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-14  9:26 [Qemu-devel] Some trials about W2K Gilles SIMON
2004-05-14 13:14 ` Gilles SIMON
2004-05-14 18:43   ` Eric van Riet Paap
2004-05-14 22:48     ` Fabrice Bellard
2004-05-17  7:44       ` Gilles SIMON
2004-05-17  8:42         ` Pavel Janík
2004-05-17  9:46           ` Gilles SIMON [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200405171146.51078.gilsim@wanadoo.fr \
    --to=gilsim@wanadoo.fr \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).