Consider this program written in pseudocode:
//Tell program to access the system's date and time
//print just the 'current year', without having to print the entire time,date format.
//Be able to perform calculations with the printed number (for example: 2019), without having to manually enter it anywhere.
My goal is to figure out how to access just a single information like date, month or year and make it a usable operand inside the program to perform operations.