Top
Systemwalker Desktop Keeper Reference Manual
FUJITSU Software

1.4 DTKBFDM.EXE (Calculation of Date)

Functional Specification

Obtain the date of the past n days (or n months) calculated from today.

In addition, the range of date that can be acquired is "Jan. 1 2001 (20010101)" - "Dec. 31 2034 (20341231)".

Command Format

DTKBFDM <Days|Months> [MONTH|month <Day>]

Option

<Days|Months>:

Enter the past number of days or months until today required to be obtained. The range of value is "0" - "2000" for number of days and "0" - "120" for number of months. Whether the entered number is days or months is determined according to the specification in <MONTH|month>.

MONTH|month:

It can be omitted. When it is omitted, the number entered in <Days|Months> will be processed as days by default. When "MONTH" or "month" is entered, the number entered in <Days|Months> will be processed as the number of months passed.

<Day>:

When "MONTH|month" is specified, enter a number within "1" - "31" or "99". In the case of "1" - "31", the input value will be fixed as the date of a month calculated according to the value entered in <Days|Months>. In the case of "99", it will be fixed as the ending date of a month calculated according to the value entered in <Days|Months>.

In the command option, an option that contains space, etc., cannot be specified.

Return Value

[ERRORLEVEL] Date obtained:

Ended normally

[ERRORLEVEL] 1:

Ended abnormally

Location for Saving Commands

Installation folder of database related files\BackupCommand\DTKBFDM.EXE

Authority Required for Execution/Execution Environment

Example of Use

This command cannot be used alone. Instead, it is used in other backup commands.