Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

ISO 8601 date functions

May
397
4
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
 
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
 
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
 
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
|
 
Rex Clark wrote:


> 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.

Its free. Does TCC/LE support plugins?

* Klaus Meinhard *
4DOS Info - Info for DOS
www.4dos.info
 
K_Meinhard wrote:


> 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).

I just see that the TCC help displays the same error for _ISODATE.

* Klaus Meinhard *
4DOS Info - Info for DOS
www.4dos.info
 
Back
Top