Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to International chat echo - member...  <--  <--- Return to Home Page
   Networked Database  International chat echo - member...   [471 / 900] RSS
 From   To   Subject   Date/Time 
Message   Maurice Kinal    Ozz Nixon   Re TZUTC   March 10, 2019
 12:34 AM *  

Hey Ozz!

 ON> ISO and RFC state not to use +0000, should use "Z" to avoid
 ON> RgeExpr errors.

I am not sure I follow.  Here are three examples I have for --iso-8601,
--rfc-email and --rfc-3339 using coreutils's date app on linux;

date --iso-8601=seconds; 2019-03-10T00:47:36+00:00
date --rfc-email; Sun, 10 Mar 2019 00:47:36 +0000
date --rfc-3339=seconds; 2019-03-10 00:47:36+00:00

Note that all have the + character which I believe is correct for UTC. 
Personally I'd avoid --rfc-email given the output string is in English.  All
three formats convert fine to PST8PDT;

TZ=PST8PDT date --date="2019-03-10T00:47:36+00:00"; Sat Mar  9 16:47:36 PST
2019
TZ=PST8PDT date --date="Sun, 10 Mar 2019 00:47:36 +0000"; Sat Mar  9 16:47:36
PST 2019
TZ=PST8PDT date --date="2019-03-10 00:47:36+00:00"; Sat Mar  9 16:47:36 PST
2019

For purely %Z as per strftime() output this works;

date +%Z; UTC

For the record I still maintain that +00:00 or +0000 or even +00 is not a
number.  It is a string.  Some people, no names mentioned (mark lewis), seem to
 be misguided into believing that it is a number.

 ON> Nice to note another person contributing answer(s) instead of
 ON> arguing to argue

Aw.  You're no fun anymore.

Life is good,
Maurice

... Don't cry for me I have vi.
--- GNU bash, version 5.0.2(1)-release (x86_64-pc-linux-gnu)
 * Origin: Little Mikey's EuroPoint - Ladysmith BC, Canada (2:280/464.113)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to International chat echo - member...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0853 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_0qmtd4pvou3rggeakv7hfrtpg6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_0qmtd4pvou3rggeakv7hfrtpg6, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_0qmtd4pvou3rggeakv7hfrtpg6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0