Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. Write the command to display the current date in the form dd/mm/yyyy.
  2. A.
    date +%d/%m/%Y
    B.
    date +"%d/%m/%Y"
    C.
    date +/%d/%m/20%y
    D.
    date +"/%d/%m/20%y"

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    date +%d/%m/%Y


Be The First To Comment