Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: How do you handle date and time in COBOL?
Answer: COBOL provides the special registers CURRENT-DATE and CURRENT-TIME to handle date and time operations. These registers store system date and time values.

Example:

MOVE FUNCTION CURRENT-DATE TO DATE-FIELD.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook