Hi,
I wanted to display Century in Unix.
I tried with date +"%C"
Which is displaying Mon Aug 29 12:54:54 BST 2011. (Used capital C).
and when used date +"%c"
Displaying Mon Aug 29 12:54:33 2011. (used Small c)
But i want century (21) to get displayed. Please let me know how can i do that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.