Label Date Result

Defined under the namespace Scandit.Datacapture.Label

LabelDateResult
class LabelDateResult

Added in version 7.2.0

Represents the result of parsing a date from captured text using a LabelDateFormat. Contains the individual date components (day, month, year) in both numeric and string formats.

This class is returned when date text fields are successfully parsed according to the configured date format patterns.

day
get day(): number | null

Added in version 7.2.0

The parsed day, starting on 1. Can be null if the parsing fails.

month
get month(): number | null

Added in version 7.2.0

The parsed month, starting on 1 for January. Can be null if the parsing fails.

year
get year(): number | null

Added in version 7.2.0

The parsed year, starting on 1. Can be null if the parsing fails.

dayString
get dayString(): string

Added in version 7.2.0

The day in String form.

monthString
get monthString(): string

Added in version 7.2.0

The month in String form.

yearString
get yearString(): string

Added in version 7.2.0

The year in String form.