# Category : Utilities for DOS and Windows Machines

Archive : ENV18A.ZIP

Filename : DATE.ENV

list comspec ³ ENV v1.7z - The Master Environment Utility - Copr. K.Eikland 1992 ³

list comspec ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´

list comspec ³ ENV is a Shareware program, which means you may freely try out ³

list comspec ³ its capabilities on your computer for a limited period of time. ³

list comspec ³ If you find - as I think you will - that you make use of ENV ³

list comspec ³ and wish to become an authorized user, please follow the ³

list comspec ³ instructions in the ORDERENV.TXT file. ³

list comspec ³ ³

list comspec ³ User feedback welcome! CIS 72461,556 ³

list comspec ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

list comspec . Here's an example of ENV's mathematical and date/time capabilities

list comspec .

set time=int(100*timenow())/100

calc time

list time The current time is {get*value}

erase time

set year=int(datenow())

calc year

set monthn=January,February,March,April,May,June,July,August,September,October,November,December

calc month=monthn(int(100*(datenow()-%year%)))

set year=roman(%year%)

calc year

set day=round(100*frac(100*datenow()))

calc day

list comspec The current date is %day% %month% in the year %year%

erase day

erase month*

erase year

set dayn=int((days(datenow())+5){MOD}7+0.1)

calc dayn

set dayn=%dayn%+7*(%dayn%{EQ}0)

calc dayn

list dayn The week's day number is {get*value}

set day1=Monday

set day2=Tuesday

set day3=Wednesday

set day4=Thursday

set day5=Friday

set day6=Saturday

set day7=Sunday

set% dayn=day%dayn%

list dayn The weekday is a {get*value}

erase day?

set dayone=days(int(datenow())+0.0101)

calc dayone

set weekone=(int((%dayone%+5){MOD}7+0.1)){GT}3

calc weekone

set week=(days(datenow())-%dayone%){DIV}7+%weekone%+1

calc week

list week This is Week {get*value}

erase dayone

erase weekone

erase week

Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/