The subject of this thread is the weekday, month, monthday, time and year as displayed in the session when I just loaded Dyalog APL.
Why?
Why does Dyalog provide the session start time in such a peculiar format?
Is this standard across all (or even some others (or even one other)) APLs?
p.s. I've been meaning to ask this question for years. (Perhaps I need to get a life.)
Mon Nov 12 09:49:02 2018
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
- AndyS|Dyalog
- Posts: 263
- Joined: Tue May 12, 2009 6:06 pm
Re: Mon Nov 12 09:49:02 2018
I think because it seemed like a good idea many years ago - I've gone back to 8.2 from 2002 and the banner has the same timestamp format.
We've had a look at other APLs and there appears to be no consistency between their banners.
I doubt if we would want to change the timestamp format though .. there are those (particularly on non-Windows platforms) who redirect output and are probably parsing the timestamp and I'm not sure that the effort that we would impose on them is justified ..
We've had a look at other APLs and there appears to be no consistency between their banners.
I doubt if we would want to change the timestamp format though .. there are those (particularly on non-Windows platforms) who redirect output and are probably parsing the timestamp and I'm not sure that the effort that we would impose on them is justified ..
-
- Posts: 238
- Joined: Thu Jul 28, 2011 10:53 am
Re: Mon Nov 12 09:49:02 2018
ISO 8601 specifies a standard format for timestamps.
Re: Mon Nov 12 09:49:02 2018
Historical note: in an early version, I managed to make the session banner OCD-compliant by having the Dyalog version ... line and the timestamp line the same length.
- Richard|Dyalog
- Posts: 44
- Joined: Thu Oct 02, 2008 11:11 am
Re: Mon Nov 12 09:49:02 2018
The format is the default of the standard C library date formatting functions:
http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html
http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html
- Bob Armstrong
- Posts: 27
- Joined: Wed Dec 23, 2009 8:41 pm
- Location: 39.038681° -105.079070° 2500m
- Contact:
Re: Mon Nov 12 09:49:02 2018
I evolved quite a few years ago to the format for "daylns" and simple floats , , for time stamps .
Easily parsable , pickup-able and sortable .
Never really settled on delta from UTC because I don't get around that much . Guess I'd just use simple +-offset .
Incidentally , my demo of CoSy at this year's Forth Day at Stanford is at https://www.youtube.com/watch?v=mXBeFSOTrK4&t=8880s .
Code: Select all
Fri.Dec,20121228
Code: Select all
20181121.2142
Easily parsable , pickup-able and sortable .
Never really settled on delta from UTC because I don't get around that much . Guess I'd just use simple +-offset .
Incidentally , my demo of CoSy at this year's Forth Day at Stanford is at https://www.youtube.com/watch?v=mXBeFSOTrK4&t=8880s .