Groups | Search | Server Info | Login | Register


Groups > comp.os.linux.misc > #75440

Re: Date formatting.

From rbowman <bowman@montana.com>
Newsgroups comp.os.linux.misc
Subject Re: Date formatting.
Date 2025-09-30 02:08 +0000
Message-ID <mk0scbF77pcU1@mid.individual.net> (permalink)
References (14 earlier) <10bb1s4$29c4m$1@dont-email.me> <20250929091131.00000dc4@gmail.com> <FIyCQ.112782$DQYd.18287@fx16.iad> <jvqqqlxnbk.ln2@Telcontar.valinor> <10befmu$33rad$1@dont-email.me>

Show all headers | View raw


On Mon, 29 Sep 2025 18:30:06 +0100, Pancho wrote:

> I like YYYYMMDD too, but the real epiphany moment for me was when I
> realised that all dates should be handled internally UTC, Unix time,
> and that output format, display, is just a user preference.

That would sometimes throw our support people. When you harvest logs from 
a site the times match their wall clock time. If you grab raw data where 
the time was stored as a time_t value, reporting tools will use 
localtime() to when formatting the data, leading to 'Why are the times off 
by two hours?'

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Favorite Font Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-09-27 14:44 +0000
  Re: Favorite Font Farley Flud <fflud@gnu.rocks> - 2025-09-27 15:22 +0000
    Re: Favorite Font Nuno Silva <nunojsilva@invalid.invalid> - 2025-09-28 11:15 +0100
      Re: Favorite Font ram@zedat.fu-berlin.de (Stefan Ram) - 2025-09-28 10:42 +0000
      Re: Favorite Font Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2025-09-28 14:03 -0700
        Re: Favorite Font Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-28 22:51 +0000
          Re: Favorite Font candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-09-30 18:30 +0000
            Re: Favorite Font Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2025-09-30 11:45 -0700
              Re: Favorite Font rbowman <bowman@montana.com> - 2025-09-30 20:04 +0000
            Re: Favorite Font Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-30 22:46 +0000
        Re: Favorite Font Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-10-04 09:31 +0000
          Re: Favorite Font Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2025-10-04 10:08 -0700
            Re: Favorite Font Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-04 21:10 +0000
      Re: Favorite Font John Ames <commodorejohn@gmail.com> - 2025-09-29 09:11 -0700
        Re: Favorite Font Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-09-29 16:45 +0000
          Date formatting. "Carlos E.R." <robin_listas@es.invalid> - 2025-09-29 19:07 +0200
            Re: Date formatting. Pancho <Pancho.Jones@protonmail.com> - 2025-09-29 18:30 +0100
              Re: Date formatting. Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-29 19:40 +0000
                Re: Date formatting. "Carlos E.R." <robin_listas@es.invalid> - 2025-09-29 21:52 +0200
              Re: Date formatting. "Carlos E.R." <robin_listas@es.invalid> - 2025-09-29 21:45 +0200
              Re: Date formatting. rbowman <bowman@montana.com> - 2025-09-30 02:08 +0000
            Re: Date formatting. c186282 <c186282@nnada.net> - 2025-09-29 23:15 -0400
          Re: Favorite Font rbowman <bowman@montana.com> - 2025-09-29 18:55 +0000

csiph-web