The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Clock in Unix using awk alex_omul UNIX for Dummies Questions & Answers 4 04-02-2008 06:07 AM
changing sys clock (PST to UTC) OFFSIHR UNIX for Advanced & Expert Users 5 11-24-2006 05:25 AM
an hour less in 24 hour system bobo UNIX for Dummies Questions & Answers 3 10-23-2006 11:55 AM
Why don't my clock show am or pm? CTroxtell21 Linux 2 11-13-2004 09:35 PM
Clock Trouble LolapaloL UNIX for Dummies Questions & Answers 2 11-09-2001 12:47 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-06-2007
RTwitchell RTwitchell is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 2
AIX 5.3 12 Hour System Clock

Hello Everyone,
I have a Domino application running on AIX 5.3 that does time conversions worldwide. It uses the operating system time as a reference for the conversion. My problem is that I need the AIX OS clock to be a 12 hour clock (AM/PM) rather than a 24 hour clock. I have tried the date commands with the appropriate switches however; it only displays the format once rather than change the OS clock permanently for 24 to 12 hour.

Does anyone have an answer as all of my SME’s are stumped?

Thanks in advance,

RTwitchell
  #2 (permalink)  
Old 04-10-2007
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,322
According to IBM :
Quote:
In releases prior to Domino 6 for AIX, Solaris, Linux, iSeries and zSeries platforms, the clock type used by the Domino server defaulted to 12 hour format. On Domino 6, the default clock type is inherited from the operating system date/time format configuration.
The Domino 6 server inspects a locale keyword named "d_t_fmt" in a category "LC_TIME" to decide the default clock type. As a result, you see the time format used by the Domino server has changed from 24 hour format (military) to 12 hour format after upgrading.

Solution
If you desire to retain the clock type as 12 hour, you can do one of the following:
Change the locale to another which uses 12 hour format for starting Domino 6 server. For example, a locale "en_US" on Linux and Solaris platforms uses 12 hour clock.
Specify the notes.ini setting "ClockType=12_HOUR" to override the system default clock type.
  #3 (permalink)  
Old 04-10-2007
RTwitchell RTwitchell is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 2
Many Thanks sysgate !
This workaround did the trick.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0