Normal List
mark_date
Command
Function
Marks a part of the date previously stored by time_fix,
selected format at the current position.
mark_date( Part, Mode )
Call
Part
Parameters
Mode
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
Specifies which part of the date should be marked.
= 0:
Year (only the last two digits).
= 1:
Month (in customer specific notation).
= 2:
Day (corresponding to the normal Gregorian date).
= 3:
Day-of-the-week (in customer specific notation).
= 4:
Julian day (see also time_fix_f_off).
= 5:
Year (4 digits).
= 6:
Month as numerals (January = 1,...).
= 7:
Day-of-the-week as numerals (Sunday = 1,...).
As an unsigned 32-bit value.
Allowed value range: [0...7].
Selection of the format.
As an unsigned 32-bit value.
Allowed value range: [0...3].
a) Only affects Part = 2, 4, 6 or 7:
The number of leading zeros in the day number.
Bit #0 = 0:
Leading zeros are suppressed.
Bit #0 = 1:
Day of the month (Part = 2), always two digits.
Day of the year (Part = 4), always three digits.
Month (Part = 6), always two digits.
Day-of-the-week (Part = 7), always two digits.
b) Only affects Part = 0, 2 or 4...7:
Desired character set for marking digits.
Bit #1 = 0:
The indexed text string for digits [0...9], as defined by
load_text_table
Bit #1 = 1:
The indexed characters for digits [0...9], as defined by
load_char
or set_char_pointer, are marked. The desired
character set can be specified with select_char_set.
For Part = 1 or 3, days of the month or days of the week are marked by
indexed text strings (Index = 10...28) defined with
(here, the parameter Mode is ignored). For marking as
set_text_table_pointer
numerals, also Part = 6 or 7 can be used (then Mode is considered).
time_fix_f
or
time_fix_f_off
or set_text_table_pointer, is marked.
load_text_table
in the
or
528
Need help?
Do you have a question about the RTC6 PCIe Board and is the answer not in the manual?
Questions and answers