linux get year month day from date code example Example: bash date date #displays date and time in terminal