In COBOL, what is the format of the current date and time when stored in the CURRENT-DATE special register?

  • DD/MM/YYYY HH:MM:SS
  • HH:MM:SS DD/MM/YYYY
  • MM/DD/YYYY HH:MM:SS
  • YYYY-MM-DD HH:MM:SS
In COBOL, the CURRENT-DATE special register typically stores the current date and time in the format YYYY-MM-DD HH:MM:SS. It follows the ISO 8601 standard for date and time representation.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *