Author Topic: SYMBOS and dates  (Read 2278 times)

0 Members and 1 Guest are viewing this topic.

Offline rpalmer

  • 6128 Plus
  • ******
  • Posts: 574
  • Country: au
    • Awards
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


like
0
No reactions

Offline khaz

  • 464 Plus
  • *****
  • Posts: 491
  • Country: fr
    • Awards
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.
like
0
No reactions

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!
    • Awards
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.  :)
like
0
No reactions
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: 657
  • Country: de
  • Schneider CPC464 - what else ?
    • Awards
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 :)
like
0
No reactions

Offline rpalmer

  • 6128 Plus
  • ******
  • Posts: 574
  • Country: au
    • Awards
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
like
0
No reactions

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!
    • Awards
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.  :)
like
0
No reactions
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!
    • Awards
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...).
like
0
No reactions
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.472
  • Country: au
  • I know RST3 . I now know a little More.
    • Awards
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
like
0
No reactions
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.