03-15-2007
Change the time in AIX
I have already updated the DST change but my system time is about 10 minutes off. How do i set the time in the AIX 5.3?
Thanks
Dave
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I am pretty new to the Solaris world. Just installed the version 8 and found that the time is off. I am in the Central time zone. In the beginning, the date and time was off by a day. After changing the /etc/default/init, there is no avail. The date is now correct but the time is still 5 hours... (7 Replies)
Discussion started by: conflansun
7 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Can someone tell me how to change time inside red hat linux machine as root?
ThanX! (1 Reply)
Discussion started by: whatisthis
1 Replies
3. Linux
what command must i use to change time ? (4 Replies)
Discussion started by: Sirius
4 Replies
4. Solaris
The time of our Solaris server now is slowly more 20 seconds.
How can we change it ? (3 Replies)
Discussion started by: anhtt
3 Replies
5. AIX
Hi all
We are currently using AIX 5.3, we reuquire to change the time according to the daylight saving scenario. We are using the internal clock and are not synced with ntp server. Can any one please tell me how to do that without effecting the processes running on the servers? (2 Replies)
Discussion started by: masquerer
2 Replies
6. Shell Programming and Scripting
Hi
I want to match time hr:mm and change to mm:hr
please let me know how to do that in perl (2 Replies)
Discussion started by: lakshmikant
2 Replies
7. AIX
Hi Guys ,
I see a weird problem with one of the AIX Machine, The time is changing randomly on the server. The seconds part of the time is what is the problem which is jumping on a uneven order and coming back to the original state after some time and again the same.. I have collected the time... (8 Replies)
Discussion started by: kkeng808
8 Replies
8. Debian
Hi all,
I want change the time settings from EST to IST by using command line in Debian os. but it is not taken. Can any body show me the how to change the time settings by using command line.
Thanks, (1 Reply)
Discussion started by: mastansaheb
1 Replies
9. AIX
Hi Everyone
Just wanted to share with you that IBM AIX is having again problem with Summer Time Shift..
IBM Possible Action Required: System time may not change properly at DST start/end dates on AIX 7.1 and AIX 6.1 - United States
For me it means some additional overtimes in the... (0 Replies)
Discussion started by: gito
0 Replies
LEARN ABOUT HPUX
settimeofday
settimeofday(2) System Calls Manual settimeofday(2)
NAME
settimeofday - set the date and time
SYNOPSIS
DESCRIPTION
The function sets the current time, expressed as seconds and microseconds since Epoch, and passed as the structure pointed to by tp.
The resolution of the system clock is one microsecond.
Security Restrictions
Setting the time of day requires the privilege (SYSATTR). Processes owned by the superuser will have this privilege. Processes owned by
other users may have this privilege, depending on system configuration.
See privileges(5) for more information about privileged access on systems that support fine-grained privileges.
PARAMETERS
tp A pointer to a structure in which the current time is returned.
The structure includes the following members:
tzp If this parameter is not a null pointer, it is interpreted as a pointer to a structure under HP-UX. The structure has the following
fields:
tz_minuteswest The number of minutes that the local time zone is west of Coordinated Universal Time (UTC) or Epoch.
tz_dsttime A flag that, if nonzero, indicates that Daylight Savings Time (DST) applies locally during the appropriate part of the
year.
RETURN VALUE
returns the following values under HP-UX:
Successful completion.
Failure.
is set to indicate the error.
ERRORS
If fails, is set to the following value under HP-UX:
An argument address referenced invalid memory.
The member of the tp parameter to was less than zero or greater than 2^31.
A user lacking appropriate privileges attempted to
set the time.
WARNINGS
Relying on a granularity of one microsecond may result in code that is not portable to other platforms.
AUTHOR
was developed by the University of California, Berkeley, and HP.
SEE ALSO
date(1), ftime(2), gettimeofday(2), stime(2), time(2), ctime(3C), privileges(5).
settimeofday(2)