Sponsored Content
Full Discussion: Change the time in AIX
Top Forums UNIX for Dummies Questions & Answers Change the time in AIX Post 302110790 by rocker40 on Thursday 15th of March 2007 10:13:43 AM
Old 03-15-2007
IBM 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

Time change not working...

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

How to change time as root?

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

How To change time?

what command must i use to change time ? (4 Replies)
Discussion started by: Sirius
4 Replies

4. Solaris

change time

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

How to change time on servers

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

how to change time hr:mm to mm:hr in perl

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

AIX TIME CHANGE

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

change time

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

Bug in AIX 6.1/7.1 Time Zone DST Change -again

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
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)
All times are GMT -4. The time now is 09:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy