New V1.01 available

The new version 1.01 has a bug corrected when running on the first of the month. The 1.01 release is year 2000 ready.

YYYYMM

is a small utility who lets you print the current date (and time) in various formats. Since it is mainly designed to handle logfiles, it can even substract one day from the current date. Why ? So you can run the AT command at 0:00 and store the logfile of the previous day in the correct subdirectory.

It is available for a wide range of systems. (Only Intel based)


Support for different operating systems

{short description of image} DOS

For all small systems (gateways etc.) YYYYMM is available as a small DOS application.

WIN32

For more up to date systems, it is available as WIN 32 console application. It runs fine under NT and Windows 95

OS2 16 BIT

For older OS/2 systems, and the OS/2 subsystem of Windows NT

OS2 32 BIT

Just for all WARP fans who think that OS2 has any future ;-)

Netware NLM

Do you use the best available OS for file & print services ???


Commandline

yyyymm [options]
-h
-?          displays a short helpscreen
-1          removes one day from the current date
            is very usefull when running a batchfile at midnight,
            so we can still store the logfiles in the correct
            directory.
-c          don't put a dot in the string. Normaly a dot is placed 
            between the month and the day number.
-d          display the daynumber
-e <ENV>    use this environment variable to set
-f <FORMAT> display the date time in this format.
            (See below for the userdefined formats)
-m          display the month
-n          write a newline at the end of the string
-o <FILE>   instead of displaying the resulting string
            it is written to this file.
-s          put a SET CMY= in front of the string
-y          display the current year.
User defined format

?a locale's abbreviated weekday name

?A locale's full weekday name

?b locale's abbreviated month name

?B locale's full month name

?c locale's appropriate date and time representation

?d day of the month as a decimal number (01-31)

?D date in the format mm/dd/yy (POSIX)

?h locale's abbreviated month name (POSIX)

?H hour (24-hour clock) as a decimal number (00-23)

?I hour (12-hour clock) as a decimal number (01-12)

?j day of the year as a decimal number (001-366)

?m month as a decimal number (01-12)

?M minute as a decimal number (00-59)

?n newline character (POSIX)

?p locale's equivalent of either AM or PM

?r 12-hour clock time (01-12) using the AM/PM notation in the format HH:MM:SS (AM|PM) (POSIX)

?S second as a decimal number (00-59)

?t tab character (POSIX)

?T 24-hour clock time in the format HH:MM:SS (POSIX)

?U week number of the year as a decimal number (00-52) where Sunday is the first day of the week

?w weekday as a decimal number (0-6) where 0 is Sunday

?W week number of the year as a decimal number (00-52) where Monday is the first day of the week

?x locale's appropriate date representation

?X locale's appropriate time representation

?y year without century as a decimal number (00-99)

?Y year with century as a decimal number

?Z, ?z timezone name, or by no characters if no timezone exists (%z is an extension to ANSI/POSIX)

?? character %



Download

yyyymm.zip 120kB