0
0

I want to find a day of week for the Linux system.

can some one help me on this…

  • You must to post comments
0
0

Hi Sai,

try to use this code to display day of week…

date '+%u'  ----  It displays the Day number of the week
like 1 - Monday, 2 - Tuesday, 3 - Wednesday .....
or
date '+%a'  ----  It displays the Day on 2 Character
like Sun, Mon, Tue, Wed .....
or
date '+%A'  ----  It displays the full name of Days
like Sunday, Monday, Tuesday .....
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.