ABAP Keyword Documentation →  ABAP − Reference →  Processing Internal Data →  Date and Time Processing →  Character-Like Date Fields and Time Fields → 

Accessing Character-Like Date Fields and Time Fields

Only a few operand positions are affected by the fact that character-like date fields and time fields contain a local date in the format "yyyymmdd" or a local time in the format "hhmmss":

In all other operand positions, the handling of character-like date fields and time fields is specified in the conversion rules and comparison rules for these data types.

Direct assignments or comparisons between the data types d and t are meaningless and therefore forbidden. The following sections show examples of how to access character-like date fields and time fields effectively.

Note

The function modules of the function group SCAL provide some additional information about character-like dates, for example the day of the week or the calendar week for a given date.




Continue
Character-Like Access to Character-Like Date Fields and Time Fields
Accessing Character-Like Date Fields and Time Fields Numerically
Evaluating Character-Like Date Fields and Time Fields