Home » Infrastructure » Unix » How to display Century in UNIX.
How to display Century in UNIX. [message #521377] Mon, 29 August 2011 06:56 Go to next message
Messages: 20
Registered: July 2011
Location: india
Junior Member

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.
Re: How to display Century in UNIX. [message #521382 is a reply to message #521377] Mon, 29 August 2011 07:14 Go to previous message
Michel Cadot
Messages: 68597
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
This question bears no real connection with Oracle.
Please find a more appropriate forum.
The topic is locked.
If I'm wrong, please, PM me (or report this message to a moderator, explain why you think it should be unlocked and it might be done).

Previous Topic: DBCA not found
Next Topic: datafile rename
Goto Forum:

Current Time: Mon Feb 26 02:53:15 CST 2024