ISO 8601 date functions

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
Thanks to Luchezar Georgiev 4DOS has now internal variables and
functions for ISO 8601, which should make things easier for European
users:

%_ISODOWI (Monday=1 , Tuesday=2 ...)
%_ISOWDATE (Current ISO 8601 week date (yyyy-Www-d)
%_ISOWEEK (Week of the year pursuant to ISO 8601)

@ISODOWI[date] Numeric day of the week (Mon = 1, etc.)
@ISOWEEK[date] Week of the year pursuant to ISO 8601

@MAKEDATE, @AGEDATE have a new optional second argument (5):
5 - ISO 8601 international format (yyyy-Www-d) week date

@MAKEAGE now understands the new formats.

Note that for 4NT / TCC users this functionality is a small part of the
FEDUTIL plugin by Federico C. Romano (who got the relevant ISO wrong:
its 8601, not 9601).

Mit freundlichem Gruß,

Klaus Meinhard
 
#2
Hi Klaus..
Scripting in 4dos is a lot harder than 4NT/TC
Less code is required to do the same job I don't really understand why one would
still use it.

----- Original Message -----

| Thanks to Luchezar Georgiev 4DOS has now internal variables and
| functions for ISO 8601, which should make things easier for European
| users:
|
| %_ISODOWI (Monday=1 , Tuesday=2 ...)
| %_ISOWDATE (Current ISO 8601 week date (yyyy-Www-d)
| %_ISOWEEK (Week of the year pursuant to ISO 8601)
|
| @ISODOWI[date] Numeric day of the week (Mon = 1, etc.)
| @ISOWEEK[date] Week of the year pursuant to ISO 8601
|
| @MAKEDATE, @AGEDATE have a new optional second argument (5):
| 5 - ISO 8601 international format (yyyy-Www-d) week date
|
| @MAKEAGE now understands the new formats.
|
| Note that for 4NT / TCC users this functionality is a small part of the
| FEDUTIL plugin by Federico C. Romano (who got the relevant ISO wrong:
| its 8601, not 9601).
|
| Mit freundlichem Gruß,
|
| Klaus Meinhard
 
Jun 6, 2008
15
0
#3
Hi Rex,

Scripting in 4dos is a lot harder than 4NT/TC
Less code is required to do the same job I don't really understand why one would still use it.
Well, I have an idea.
How well does 4NT run on DOS?

--
haskell
 
#4
Good point. foot in mouth
Apologise

----- Original Message -----
| Hi Rex,
|
|
| ---Quote---
| Scripting in 4dos is a lot harder than 4NT/TC
| Less code is required to do the same job I don't really understand why one
would still use it.
| ---End Quote---
| Well, I have an idea.
| How well does 4NT run on DOS?
|
| --
| haskell
|