TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: mark lewis
from: Robert Brisco
date: 2003-11-13 02:06:54
subject: dayboot1 question

Hallo mark!

Here are some thins you might wont to look at in 4DOS/4NT

{at}DATE[mm-dd-yy]                  Convert date to number of days
{at}DAY[mm-dd-yy]                   Day of the month
{at}DOW[mm-dd-yy]                   Day of the week
{at}DOWF[mm-dd-yy]                  Day of the week (full name)
{at}DOWI[mm-dd-yy]                  Numeric day of the week
{at}DOY[mm-dd-yy]                   Numeric day of the year
{at}MAKEAGE[date[,time]]            Convert date/time to file date/time
{at}MAKEDATE[n]                     Convert number of days to date
{at}MAKETIME[n]                     Convert number of seconds to time
{at}MONTH[mm-dd-yy]                 Month of the year
{at}TIME[hh:mm:ss]                  Convert time to number of seconds
{at}YEAR[mm-dd-yy]                  Year number (2 digits)


This will run on Friday.

IFF "%{at}UPPER[%_DOW]" == "FRI" THEN
    .
    .
    .
ENDIFF

This will run on the 13th day of the mounth.

IFF "%{at}UPPER[%_DAY]" == "13" THEN
    .
    .
    .
ENDIFF





These commands are straight 4DOS/4NT Commands.  No other progran is needed.


Hope this helps,

Robert







--- FPD v2.5b.081103  GoldED+/W32 1.1.5-30512
* Origin: www.fido-deluxe.de.vu Fido-Paket -IP- deluxe (2:249/3110.78)
SEEN-BY: 633/267 270
@PATH: 249/3110 2432/200 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.