Author Topic: SYMBOS and dates  (Read 1620 times)

0 Members and 1 Guest are viewing this topic.

Offline rpalmer

  • 6128 Plus
  • ******
  • Posts: 548
  • Country: au
  • Liked: 350
  • Likes Given: 18
SYMBOS and dates
« on: 15:06, 27 April 16 »
People,

I have noticed that dates shown in SYMBOS dont match up with known formats.
The US styles of dates are in the format MM/DD/YY (or MMM/DD/YY) and is interpreted as month/day/year.
The UK/AUS styles of dates are in the format DD/MM/YY (or DD/MMM/YY) and is interpreted day/month/year.

Does the format shown by SYMBOS infer YY/MM/DD (see first attached image). If this format is invalid and SYMBOS is using the 'US' format then there is an error which will need fixing as the day and year values are back to front for US format.

HDOS uses a format where it cannot be mis-interpreted (see second image)

Note: I have checked SYMBOS and cannot change the date format in its outputs.

rpalmer

Offline khaz

  • 464 Plus
  • *****
  • Posts: 490
  • Country: fr
  • Liked: 252
  • Likes Given: 69
Re: SYMBOS and dates
« Reply #1 on: 15:25, 27 April 16 »
YYYY/MM/DD HH:MM:SS is the objectively superior format to store dates electronically, at it allows them to be sorted easily.

But it's true the user isn't used to it (safe for the Asian user), and options to show dates in various formats could be included.

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1978
  • Likes Given: 4650
Re: SYMBOS and dates
« Reply #2 on: 17:04, 27 April 16 »
Does the format shown by SYMBOS infer YY/MM/DD (see first attached image).


Yes, it does, it the GER way of showing dates. I think it's a good way of doing it. Of course YYYY is helpful since we just left one millennium a bit ago.  :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline SRS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 581
  • Country: de
  • Schneider CPC464 - what else ?
  • Liked: 567
  • Likes Given: 311
Re: SYMBOS and dates
« Reply #3 on: 22:58, 27 April 16 »
DIN 5008 - but it should be yyyy-mm-dd as the millenium is not "sure" for CPC software :)

or ISO 8601:2004 ... so MS is not following ISO but SymbOS is :)

Offline rpalmer

  • 6128 Plus
  • ******
  • Posts: 548
  • Country: au
  • Liked: 350
  • Likes Given: 18
Re: SYMBOS and dates
« Reply #4 on: 00:02, 28 April 16 »
Thanks TFM.

I could not at first know what 06/03/09 (for a file in the snapshot) represented without knowing how dates are to be interpreted.
I could see the values as 06-Mar-2009 (UK - DD/MM/YY) or 03-Jun-2009 (US - MM/DD/YY) or 09-Mar-2006 (GER - YY/MM/DD).

rpalmer

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1978
  • Likes Given: 4650
Re: SYMBOS and dates
« Reply #5 on: 00:45, 28 April 16 »
DIN 5008 - but it should be yyyy-mm-dd as the millenium is not "sure" for CPC software :)

or ISO 8601:2004 ... so MS is not following ISO but SymbOS is :)


Cool! You really got this one out! Next time I just ask you.  :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1978
  • Likes Given: 4650
Re: SYMBOS and dates
« Reply #6 on: 00:46, 28 April 16 »
Thanks TFM.

I could not at first know what 06/03/09 (for a file in the snapshot) represented without knowing how dates are to be interpreted.
I could see the values as 06-Mar-2009 (UK - DD/MM/YY) or 03-Jun-2009 (US - MM/DD/YY) or 09-Mar-2006 (GER - YY/MM/DD).

rpalmer


Glad you do it with YYYY.  :)  (I should alter that in my software too...).
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Audronic

  • 6128 Plus
  • ******
  • Posts: 1.315
  • Country: au
  • I know RST3 . I now know a little More.
  • Liked: 290
  • Likes Given: 653
Re: SYMBOS and dates
« Reply #7 on: 02:53, 28 April 16 »
@rpalmer


Hi Ray P


Are you reading the same hard drive with Symbos and HDos (ide/8255) ??
Yes the dates can become confusing  YYYY is probably the way to go.


Ray W
Procrastinators Unite,
If it Ain't Broke PLEASE Don't Fix it.
I keep telling you I am Not Pedantic.
As I Live " Down Under " I Take my Gravity Tablets and Wear my Magnetic Boots to Keep me from Falling off.