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
queeny
Messages: 13
Registered: July 2011
Location: india
Junior Member
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.
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: 59122
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).

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


Current Time: Thu Sep 18 04:59:03 CDT 2014

Total time taken to generate the page: 0.11544 seconds